14651 - Compute rectangle perimeter and area   

Description

Write a C program to compute the perimeter and area of a rectangle with inputted height and width. 

Input

Two integer numbers, width and height.

 

Output

Two integer numbers, perimeter and area

Ensure that the output, including formatting, exactly matches the provided samples.

Sample Input  Download

Sample Output  Download

Tags

11410EE 231002



Discuss