-->
当前位置:首页 > 题库

PROGRAMMING:Calculate the perimeter and area of a rectangle

Luz5年前 (2021-05-10)题库401
Enter the length and width of the rectangle, and calculate the perimeter and area of the rectangle.
###Input format:
Give two integers on one line.
###Output format:
Two lines.
The perimeter of the first line rectangle.
The area of the rectangle in the second row.
###Input example:
```in
7 3
```
###Output example:
```out
C = 20
S = 21
```







answer:If there is no answer, please comment