write a program to calculate the area of a rectangle by taking no. from the users
Answers
Answered by
10
Explanation:
Program
#include <stdio.h>
int main()
{
int width=5;
int height=10;
int area=width*height;
printf("Area of the rectangle=%d",area);
}
Output:
Area of the rectangle=50
PHP Program
<?php
$width=5;
$height=10;
$area=$width*$height;
echo "Area of the rectangle=";
echo $area;
?>
Output:
Area of the rectangle=50
Answered by
0
Answer:
printf("Area of the rectangle=%d",area);
Explanation:
here is your answe mate there are 8 but you hsve told to give one
Similar questions
English,
5 months ago
Math,
5 months ago
English,
10 months ago
Math,
10 months ago
Environmental Sciences,
1 year ago