Skip to main content

C Program01 Chap01: Area of Squre


/*Prime.Chapter_01/17 Write a program for Area of Squre*/   //document

#include<stdio.h>    //Header file
#include<conio.h>   //Header file Preprocessor Directive

#define N 10        //Symbolic constant

    void main()     //main program starts
{
    int area;       //variable declaration


    area = N*N;     //process stmt

     printf("Area of square:\n"); // o/p stmt

    printf("%d", area);            // to show the output visible

    getch();

    return 0;
}   // Program ends.

Comments

Popular posts from this blog

PHP course catalogs

Introduction   In this PHP course, you will learn Advanced level PHP with CodeIgniter framework, and how to execute scripts on your server. You will also learn about MySQL, html, CSS, JavaScript. You will also learn advanced level CSS, Database Normalization & Relation of Database. After attending the course, you can develop project using PHP framework CodeIgniter with MySQL. How participants will benefit after the course:   After attending this course, participants will be able to develop professional dynamic website using PHP framework CodeIgniter, design database with proper documentation, and develop Online Payment Method. Course Highlights:   . Complete package on web development  . Advanced JavaScript & Ajax  . PHP framework along with documentation process  . Client Side & Server Side Validation  . CI Framework Reporting  . TinyMce Editor & Searching  . SSL, File upload & Email  . Online Paym...