#C9614. Calculate Rectangle Areas
Calculate Rectangle Areas
Calculate Rectangle Areas
You are given a list of rectangles. Each rectangle is described by its width and height. Your task is to compute the area of each rectangle.
The area of a rectangle is given by the formula: \( \text{area} = \text{width} \times \text{height} \).
Print the calculated areas in the same order as the input, separated by a single space.
inputFormat
The input consists of multiple lines:
- The first line contains a single integer \( N \) representing the number of rectangles.
- The following \( N \) lines each contain two space-separated integers: the width and the height of a rectangle.
outputFormat
Output a single line with \( N \) integers. Each integer is the area of the corresponding rectangle from the input, printed in order and separated by a single space.
## sample3
5 4
7 2
6 6
20 14 36