PRG-111

PRG-111

1.    Draw the flowchart for a program that asks the user to input the diameter of a circle and uses that number to calculates and outputs the circumference and area of the circle using the following formulas:

circumference = 3.14 * diameter
area = 3.14 * (diameter / 2)^2

2.    Write a program that asks a user for height and outputs the word “short if they are under 64 inches, outputs the word “average” if they are between 65 and 76 inches, and outputs the word “tall” if they are over 76 inches.

3.    Draw a flowchart for an interactive program (ask the user for the number of people in the group) that determines and displays the correct price for a group tour based on the following:

a.    1 to 10 people – $25 / person
b.    11 – 25 people – $22 / person
c.    26 – 50 people – $20 / person
d.    Over 50 people – $18 / person

4.    Expand the program in question 3 to allow the program to ask if the user wants to calculate another price and repeat the program if the user answers yes.

Place this order with us and get 18% discount now! to earn your discount enter this code: special18  If you need assistance chat with us now by clicking the live chat button.

© 2020 customphdthesis.com. All Rights Reserved. | Disclaimer: for assistance purposes only. These custom papers should be used with proper reference.