Create a code

profileALEXOLIVA6
deskcheck.txt

Desk Check for selecting a figure Ask user to select a figure (1. Circle, 2. Rectangle, 3. Quit) User selects 1 Follow code for Area and Circumference of Circle User selects 2 Follow code for Area and Perimeter of Rectangle User selects 3 End the execution of the code Selects any other value Output: Invalid selection Desk Check for Area of a circle; Ask user to input r User inputs: -10 Display: You entered radius as: -10 Display: You input Invalid value Ask user to input r User inputs: 10 Display: You entered radius as: 10 Display: Area of Circle is: 314.000 Desk Check for Circumference of a Circle; Ask user to input r User inputs: -10 Display: You entered radius as: -10 Display: You input Invalid value Ask user to input r User inputs: 10 Display: You entered radius as: 10 Display: Circumference of Circle is: 62.832 Desk Check for Area and Perimeter of Rectangle; User selects a Rectangle Ask user to input length User inputs: -5 Output: You entered l as: -5 Press enter on the keyboard Output: You entered Invalid value Ask user to input length User inputs: 5 Output: You entered l as: 5 Ask user to input width User inputs: -4 Press enter on the keyboard Output: You entered w as: -4 Output: You entered Invalid value Ask user to input width User inputs 4 Press enter on the keyboard Display: You entered w as: 4 Display: Area of Rectangle is: 20.000 Display: Perimeter of Rectangle is: 18.000