Question: I. Design a program using flowgorithm that calculates and displays the number of miles per hour over the speed limit that a speeding driver was

I. Design a program using flowgorithm that calculates and displays the number of miles per hour over the speed limit that a speeding driver was doing. The program should ask for the speed limit and the driver's speed. Valid the input as follows:
1. Speed limit should be at least 20, but not greater than 70.
2. The driver's speed should be at least the value entered for the speed limit (otherwise the driver was not speeding).
Once correct data has been entered, the program should calculate and display the number of miles per hour over the speed limit that the driver was doing.
II.Write a program using flowgorithm that computes for the average of scores of a student. Scores accepted must be between 0 to 100.
Sample console:
Enter test scores from 0 to 100.
To end the program, enter -1.
Enter score: 90
Enter score: 80
Enter score: 150
Score must be from 0 to 100. Try again.
Enter score: 75
Enter score: -1
Score count: 3
Score total: 245
Average score: 81.6667

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!