Question: Requirements: 1. Determine the algorithm first. Normally, you would have this typed up using a text editor or Microsoft word before you begin to program.

Requirements: 1. Determine the algorithm first. Normally, you would have this typed up using a text editor or Microsoft word before you begin to program. You would normally include this when you upload your java project file. I will not require this because I GIVE you the algorithm for THIS assignment! 2. In a block comment at the very top of your project, include a) a description of the class b) your name in standard format and c) the date in standard format 3. Comment the main parts of your program as shown in class and as shown in the skeleton. 4. Include sample executions in a block comment below your class' last closing curly brace. 5. Standard indentation is required 6. Include blank lines for readability (between sections of code and as shown in class). 7. UPLOAD your source code (the java file) TO CANVAS INCLUDE A COMMENT in the comment box that explains that you have completed project and are uploading project O for grading, Create a new class for Project 0 1) Define a New Class (These are the directions to create a new class): . Click on the New Class button. Type in Your Last NamePo as the name of your class and leave the default selection of Class. . Click on OK. In the projects window, double-click on the YourLastNamePO icon to open it (for editing). A class template should appear. What you should do now: Edit the Source Code: Use the skeleton as you would like. It is here to help you. Description: Project O: Given a number of days (positive or zero integer value for the number of days), write a general solution to this problem. Determine the number of years, months, weeks, and days that are computed from that one number of total days. Write a general solution to this problem. This means that no matter what value is entered for the number of days, your program will find and display the solution without needing to go in and change any other values. This program will find only one solution to the problem based on the value entered as your starting point. You will need to run it a few times to find solutions to other values entered. HINT: You will use integer division and modulus division to find your answers. This means that the only the value read in, representing the initial number of days, will need to change each time you run the program. Computations within your program will be performed to find the rest of the variable values. The output statements will use the variable names to print out these values. Comments are very import in this program. It will show me that you know what you are doing in this program and that you understand the program. When your program works, change the value of your starting day value and run it again twice more with values I have provided in the sample run on the last page. Using these values given below include all three of these executions to your block comment below your closing curly brace. Match this sample output below including spacing and blank lines Copy and paste your output into your program at the end, in a block comment Run it at least three times with the total days of 8069, 1075, and 374 (try 0 or a negative number! What happens!) } // end of projecto class /** ***Execution #1: Programmer: Zenia Bahorski This program will determine the number of years, months, weeks, and days, based on the number of days entered by you. Total number of days: 8069 Execution 1 Years: 22 Months: 1 Weeks: 1 Days: 2 ***Execution #2: Programmer: Zenia Bahorski This program will determine the number of years, months, weeks, and days, based on the number of days entered by you. Total number of days: 1075 Execution 2 Years: 2 Months: 11 Weeks: 2 Days: 1 ***Execution #3: Programmer: Zenia Bahorski This program will determine the number of years, months, weeks, and days, based on the number of days entered by you. Total number of days: 374 Years: 1 Execution 3 Months: 0 Weeks: 1 Days : 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
