Area and Perimeter Rectangle

You will be given two sides of a rectange (a,b). Calculate and show the area and the perimeter of it.
Input specification
You will be given the two integers a and b where 1 ≤ (a, b) ≤ 5000

Output specification
Calculate and show the area and the perimeter of the given rectangle.

Sample Input I
5 2
Sample Output I
10 14

any help with this?
Any code? Ask when you have a question or problem.
OP: even if you have trouble putting anything down in actual code at least attempt the pseudocode. This will help clarify your own thinking and give the board some basis to help you further
https://en.wikipedia.org/wiki/Pseudocode
Topic archived. No new replies allowed.