write a program in C ++ to input length and breadth of a rectangle calculate and print
Answers
Answered by
0
Answer:
#include <iostream>
using namespace std;
int main(){
float width, height;
cout << "Enter length" << endl;
cin >> width;
cout << "Enter breadth" << endl;
cin >> height;
cout << "Area : " << width * height << endl;
return 0;
}
Explanation:
Similar questions