Question: I want the code that I will write for this problem in visual studio Problem 1: Write a program that takes number of days from

I want the code that I will write for this problem in visual studio  I want the code that I will write for this problem

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!