Computer Science, asked by shashwasingh, 11 months ago

write a program in C ++ to input length and breadth of a rectangle calculate and print​

Answers

Answered by ani99ket
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