Question: Write a program that generates a random integer base (b), height (h) and a side (a) for a parallelogram in the range 10 to 30,
Write a program that generates a random integer base (b), height (h) and a side (a) for a parallelogram in the range 10 to 30, inclusive, and then computes the area and perimeter of the parallelogram.
Area = base * height
Perimeter = 2(a + b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
