I am Novice Koder
❤
Home
Program to calculate area of rectangle in c++
Program to calculate area of rectangle in c++
Anonymous
April 03, 2016
#include<stdio.h>
#include<conio.h>
void main() {
int l,b,c;
printf("Pls enter the length of a rectangle:");
scanf("%d",&l);
printf("Pls enter the breath of a rectangle:");
scanf("%d",&b);
c = l*b;
printf("Area of Rectangle: %d",c);
getch();
}
Post a Comment
0 Comments
0 Comments