Challenge: Rectangle Area

Lab C++ Beginner 10 points

Read two whole numbers, the width and height of a rectangle, and print its area (width × height) in the form Area: 12.

Input

Two integers separated by a space.

Output

One line: Area: followed by the area.

Example

Input

3 4

Output

Area: 12
Sample input available Sample output available
Editor
C++

Hints

cin >> width >> height; reads both numbers.

Don't print a question: only the answer line is checked.

Solution explanation

Read both numbers with one cin, multiply them with * and print the result.

Show solution
#include <iostream>
using namespace std;

int main() {
    int width, height;
    cin >> width >> height;
    cout << "Area: " << width * height << "\n";
    return 0;
}
Output
Answer
HOME LABS COMMUNITY DASHBOARD