Write a program to compute the area of a rectangle.
Answers
Answered by
1
Answer:
C Program
#include <stdio.h>
int main()
{
int width=5;
int height=10;
int area=width*height;
printf("Area of the rectangle=%d",area);
}
Answered by
4
C Program
- #include <stdio.h>
- int main()
- {
- int width=5;
- int height=10;
- int area=width*height;
- printf("Area of the rectangle=%d",area);
- }
Similar questions