In this lab, you add the input and output statements to a partially….solved

$14.99

Original Work ?

Download Details:

  • Name: BadDate.zip
  • Type: zip
  • Size: 10.63 KB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (1 vote)

In this lab, you add the input and output statements to a partially completed visual basic program. When completed, the user should be able to enter a year and then click ok button, enter a month and then click ok button and enter a day and then click ok button to determine if the date is valid years are those that are greater than 0, valid months include the values 1 through 12, and valid days include the values 1 through 31.

1. Open the source file named baddate.vb

2.Notice that variables have been declared for you.

3.Write the simulated housekeeping() procedure that contains the input statements to retrieve a year, a month and a day from the user.

4. Add statement to the simulated housekeeping() procedure that convert the string representation of the year, month and day to integers.

5.Include the output statement in the simulated endOfjob() procedure. The format of the output is as follows: month/day/year is valid date.

or

month/day/year is an invalid date.

6.save this source code file in a directory of your choice, and then make that directory your working directory.

7.compile the source code file badDate.vb.

8.Execute the program entering the following date:, , record the output of this program.

9. Execute the program entering the following date:, , .record the output of this program.

🚀 Custom Work, Just for You! 🚀

Can’t find the tutorial you need? No worries! We create custom, original work at affordable prices! We specialize in Computer Science, Software, Mechanical, and Electrical Engineering, as well as Health Sciences, Statistics, Discrete Math, Social Sciences, Law, and English.

✍️ Custom/Original Work Essays cost as low as $10 per page.
💻 Programming Custom Work starts from $50.

🔥 Get top-quality help now! 🔥

Get Your Custom Work