Exercise 1 :
Modify previous example to find the average of four numbers. The previous example can be found below:
Create a program which Prompts the user to enter a the radius of a circle and outputs the circumference and diameter.
|radius||Circumference <– 2* Pi * radius|
Area <– Pi * r * r
Create a solution which prompts the user to enter the length and breadth of a rectangle and output the area.
|length, breadth||area<– length* breadth||area|
© 2020 Vedesh Kungebeharry. All rights reserved.