Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

discuss the reliability of the data you have gathered;

Answered: 1 week ago

Question

b. Will there be one assigned leader?

Answered: 1 week ago

Question

d. How will lack of trust be handled?

Answered: 1 week ago

Question

b. Does senior management trust the team?

Answered: 1 week ago