#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
printf("Enter any number(use sides) :");
scanf("%d",&a);
   b=a*a;
 printf("Area of Square = %d",b);
 getch();
}
INPUT
Enter any Number(use sides) : 15
OUTPUT
Area of Square = 225

Leave a Reply

Subscribe to Posts | Subscribe to Comments

All Notes on BCA

All Notes  on BCA
BCA all subjects notes

Total Pageviews

Translate

Powered by Blogger.

Copyright © All Notes on BCA