Write a C++ program to calculate the area of a rectangle. Take the length and width as input from the user, and print the area. Use appropriate data types and arithmetic operators.
Arithmetic operators
Area of rectangle
Report a typo
Sample Input 1:
4 5Sample Output 1:
Area: 20Sample Input 2:
10 20 Sample Output 2:
Area: 200Write a program in C++
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.