Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  g
Language: C/C++
Code:
#include<stdio.h>
#include<conio.h>
main()
{
int a,l,b,as,ar;
printf("\n Enter a value for area of square:");
scanf("%d",&a);
as=a*a;
printf("\n The area of square is %d",as);
printf("\n Enter a value for length:");
scanf("%d",&l);
printf("n Enter a value for breath:");
scanf("%d",&b);
ar=l*b;
printf("\n The area of rectangle is %d",ar);
getch();
}     
          
Comments: