I have a project were the user enters an arrival date and a departure date and clicks the Calculate button or presses the enter key and the app. calculates, formats, and displays the number of nights and the total price.
The price per night should be $115. The application should validate both entries to make sure they are dates that are on or after the current date. The application should also validate the departure date to be sure that it is after the arrival date. This app. should only accept reservations within five years of the current date.
When the app. starts, it should display the current date in the first text box and the current date plus 3 days in the second text box. That way, the user can modify these default dates as necessary.
I have been breaking my head trying to figure out what I'm doing wrong since I can get the dates to appear in the text boxes as specified and only have a vague idea as to how to accept reservations for up 5 years.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment