1 Write a Python loop for user entry of arrival and departure dates, calculations, and display of data a) Input arrival

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: 899604
Joined: Mon Aug 02, 2021 8:13 am

1 Write a Python loop for user entry of arrival and departure dates, calculations, and display of data a) Input arrival

Post by answerhappygod »

1
Write a Python loop for user entry of arrival and departuredates, calculations, and display of data
a) Input arrival date in the correct format
If arrival date is earlier than today’s date, display warningmessage and retry
b) Input departure date in the correct format
If departure date is less than arrival date display warningmessage and retry
c) Calculate the number of nights and total price
Nightly rate is $85.00
If month is August, nightly rate is $105.00
d) Display the output as shown in the sample screen shot
e) Prompt the user to continue entering data
2
The program must test all possible combinations of dataentry
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply