Question: Here is what your program must do: Prompt for driver's lastName, firstName and age. Prompt for speedLimit and driver's actualSpeed. Prompt for whether or not
Here is what your program must do:
Prompt for driver's lastName, firstName and age.
Prompt for speedLimit and driver's actualSpeed.
Prompt for whether or not the violation occurred in a construction zone.
Click Here to review how to scan a boolean value from the keyboard.
YOU MUST READ THE BOOLEAN FROM KDB USING nextBoolean ie STRATEGY #
Calculate the components of the fine and the total fine see rules below
Print a formatted report on the driver and the fine see report format below
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
