Skip to main content

How to find area of square in c..

#include  <stdio.h>
#include  <conio.h>


void main ()
{
  int square,  area;
  printf("enter the length=");
  scanf("%d",  &square);


  area = square * square;
  printf("area of square=%d",  area);
  getch();
}

Comments

Popular posts from this blog

CSS Tutorial step by step

CSS   Introduction Cascading Style Sheets   (CSS) is a   style sheet language   used for describing the   look and formatting   of a document written in a markup language . While most often used to style   web pages   and user interfaces written in   HTML   and   XHTML . CSS is a cornerstone specification of   the web   and almost all web pages use CSS style sheets to describe their presentation. CSS is designed primarily to enable   the separation of document content from document presentation , including elements such as the   layout ,   colors , and   fonts .   This separation can improve content   accessibility , provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for   table less web design ). It   obvia...

HTML Step to Step Guide

                                   HTML Introduction                 HTML Example                                        <!DOCTYPE html>                                                        <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> Example Explained The DOCTYPE declaration defines the document type The text between <html> and </html> describes the web page The text between <body> and </body> is the visible page content The text between <h1> ...
Sof world Pretty cool eh? This slide is proof the content can be anything. Image to video converter Back to Article Select some images. DROP! Select Image(s) Width: Height: Video Frame Rate: Create Video Download WebM