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

TSDA Class Schedule List

Taieba Soft & Digital Academy (TSDA) www.tbsbd.blogspot.com Web Design Class No. Subject:-->HTML 1 Introduction of HTML,Basic Stru.HTML Elements, Defines Tag, Attributes and Text 2 Heading,Paragraph,Line Breaks, HTML Formatting,head tag(meta,style,js,title) 3 HTML Links, HTML Images, HTML link underline,Marquee,Images Mapping,Area 4 HTML lists(ol,ul,li), Nested List, menu_list,directory_list,defination_list 5 Audio,Video, Youtube Video,Mailto link 6 Table,th,tr,thead,tbody,tfoot, colspan and rowspan,nested table 7 Normal form, form alignment,fieldset,legend  8 Frame,Iframe, entites, color code, DTD and seo(meta) DreamWaver CS5 9 Dreamwaver Installation,How To use,Doctype,HTML Format,Version and  clasiffication CSS(Cascading Style Sheet) 10 Syntax,Classification, ID &Class, How to use ID ...