subject
Engineering, 13.11.2019 22:31 ErnieIrwin

Design a program that calculates and display the number of miles per hour over the speed limit that a speeding was doing. the program should ask for the speed limit and the driver's speed. validate the input as follows:
the speed limit should be at least 20, but not greater than 70.
the driver's should be at least the value entered for the speed limit (otherwise the driver was not speeding).
one correct data has been entered, the program should calculate and display the number of miles per hour over the speed limit that driver was doing.
pseudocode listing
flowchart
simulated output

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:20
Amixture of slurry and mud is to be pumped through a horizontal pipe of diameter 500 mm. the fluid behaves as a bingham plastic with a yield stress of 30 pa and viscosity 0.04 pa.s. describe the effects of the shear stress through a transverse section of the pipe by plotting the variation in shear stress and velocity profile: (i) just before the slurry starts to move (ii) as the slurry flows when the pressure gradient is double that in part (i)
Answers: 3
question
Engineering, 04.07.2019 19:10
For a process taking place in a closed system containing gas, the volume and pressure relationship is pvi-constant. -1.5 bar, the process starts with initial conditions, pi = =0.03 m3 and ends with final volume, v2-0.05 m3 determine the work done by the gas.
Answers: 2
question
Engineering, 04.07.2019 19:20
Asimple speed reducer is composed of 2 spur gears. the pinion gear has a pitch diameter of 0.75" and 36 teeth while the driven gear has a pitch diameter of 4.0" and 192 teeth. a)-what is the diametral pitch of each gear? b)-if an electric motor rotating ccw at 3000 rpm is coupled to the pinion, what is the rotational speed of the driven gear? c)-if the torque delivered to the pinion is 1 n-m, what is the torque on the driven gear? d)-what is the power transmitted by the gear train?
Answers: 1
question
Engineering, 06.07.2019 02:30
Define thermoplastic polymers and thermosetting polymers in terms of their structures, and (ii) describe briefly a process suitable for the production of products from each type of polymer.
Answers: 3
You know the right answer?
Design a program that calculates and display the number of miles per hour over the speed limit that...
Questions
question
Mathematics, 23.04.2021 02:00
question
Mathematics, 23.04.2021 02:00
question
Chemistry, 23.04.2021 02:00
question
Mathematics, 23.04.2021 02:00
question
Arts, 23.04.2021 02:00
Questions on the website: 13722363