Question: I need the code that will be written for this problem in VISUAL STUDIO 2017 using VISUAL BASIC language Problem 1: Write a program that
Problem 1: Write a program that takes number of days from the user and determines the number of years, months, weeks and days that make up together the input days. Assume that each year is 365 days, each month is 30 days, and each week is 7 days. Make sure that: You use a Label, a TextBox, a Button, and a ListBox in your program. .You clear the ListBox before filling it with the results The results should start by the phrase: "xxx days are: followed by number of years, number of months, number of weeks, and number of days in the following lines. A sample of the program output is shown below To make sure your program is correct you can check your results using this formula: 9 365 + 8 30+2 71-3540 Hint: use l and Mod operators. Form Enter # of days: 3540 Calculate 3540 days are: 9 Years 8 Months 2 Weeks 1 Days
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
