Question: Final Assignment: / / Java environment setup if you don't have it . / / Submit your source code and output screenshots ( include csv

Final Assignment:
// Java environment setup if you don't have it.
// Submit your source code and output screenshots(include csv output screen) in a PDF format
AND your source code (.java) and compiled (.class) files.
Problem Description:
Write a Java program to display the yearly calendar AND output the yearly calendar to a text file. You need to use the array defined below in your program initially.
// the first number is the month and second number is the last day of the month. int yearly
{{1,31},{2,28},{3,31},{4,30},{5,31},{6,30},{7,31},{8,31},{9,30},{10,31},{11,30},{12,31}};
// Make sure you create the reusable functions/methods and follow standard Java naming conventions.
// Suggested Steps or you can create your own steps or programs:
a. Create a nested loop with two-dimensional arrays above. The outer loop is month number, the inner loop is the days of the month. Sample output as below.
11,2,3,4,5,dots..31
21,2,3,4,dotsdots.28
b. Create a parallel array to display month names instead of month number.
January 1,2,3,4,
c. Create a flag to format the weekly output.
January
Sun Mon ......
1,2,34567
8,9,10dots...
d. Use the built-in Java function to find the current year and display the correct day to start for each year. Check if the year is leap year, etc.
e. Output the result to a CSV file (optional: output result to pdf or Word via third-party library/jar file)
f. Check Java style and naming conventions.
2. Output: (Copy and Paste your output here includes IDE screen)
Example:
\table[[January 2017],[S,M,T,w,T,F,s],[1,2,3,4,5,6,7],[8,9,10,11,12,13,14],[15,16,17,18,19,20,21],[22,23,24,25,26,27,28],[29,30,31,,,,]]
\table[[May 2017],[S,M,T,W,T,F,S],[,1,2,3,4,5,6],[,8,9,10,11,12,13],[14,15,16,17,18,19,20],[21,22,23,24,25,26,27],[28,29,30,31,,,]]
Testing: (Describe how you test this program, a couple of sentences is okay)
Coding: (Copy and Paste Source Code here. Format your code using Courier 10pts)
Final Assignment:
// Java environment setup if you don't have it.
// Submit your source code and output screenshots(include csv output screen) in a PDF format
AND your source code (.java) and compiled (.class) files.
Problem Description:
Write a Java program to display the yearly calendar AND output the yearly calendar to a text file. You need to use the array defined below in your program initially.
// the first number is the month and second number is the last day of the month. int yearly
{{1,31},{2,28},{3,31},{4,30},{5,31},{6,30},{7,31},{8,31},{9,30},{10,31},{11,30},{12,31}};
// Make sure you create the reusable functions/methods and follow standard Java naming conventions.
// Suggested Steps or you can create your own steps or programs:
a. Create a nested loop with two-dimensional arrays above. The outer loop is month number, the inner loop is the days of the month. Sample output as below.
11,2,3,4,5,dots..31
21,2,3,4,dotsdots.28
b. Create a parallel array to display month names instead of month number.
January 1,2,3,4,
c. Create a flag to format the weekly output.
January
Sun Mon ......
1,2,34567
8,9,10dots...
d. Use the built-in Java function to find the current year and display the correct day to start for each year. Check if the year is leap year, etc.
e. Output the result to a CSV file (optional: output result to pdf or Word via third-party library/jar file)
f. Check Java style and naming conventions.
2. Output: (Copy and Paste your output here includes IDE screen)
Example:
\table[[January 2017],[S,M,T,w,T,F,s],[1,2,3,4,5,6,7],[8,9,10,11,12,13,14],[15,16,17,18,19,20,21],[22,23,24,25,26,27,28],[29,30,31,,,,]]
\table[[May 2017],[S,M,T,W,T,F,S],[,1,2,3,4,5,6],[,8,9,10,11,12,13],[14,15,16,17,18,19,20],[21,22,23,24,25,26,27],[28,29,30,31,,,]]
Testing: (Describe how you test this program, a couple of sentences is okay)
Coding: (Copy and Paste Source Code here. Format your code using Courier 10pts)
Final Assignment: / / Java environment setup if

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 Programming Questions!