Programming 3A: Create an application that will request the user to enter the zone they are travelling within and their

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Programming 3A: Create an application that will request the user to enter the zone they are travelling within and their

Post by answerhappygod »

Programming 3A:
Create an application that will request the user to enter the
zone they are travelling within and their current driving speed.
Use validation to ensure only one of the correct zones are entered.
Create an enumeration to hold the zone names and a 2nd enumeration
to hold the speed limit of each zone. If the driver’s speed exceeds
the speed limit in the current zone travelled , display an
appropriate message reminding them of the speed limit else thank
the driver for keeping within the specified zone speed limit. The
zones and speeds are as follows: Zone Speed Limit
1. School 20
2. City 30
3. Highway 55
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply