Question: This is ConvertTime.java /* Programmer: Date: Project: Lab 1.6 ConvertTime File Name: ConvertTime.java Program Description: Converts total years into milleniums, centuries, scores, decades, and remaining

 This is ConvertTime.java /* Programmer: Date: Project: Lab 1.6 ConvertTime File
This is ConvertTime.java
/* Programmer:
Date:
Project: Lab 1.6 ConvertTime
File Name: ConvertTime.java
Program Description: Converts total years into milleniums, centuries, scores, decades, and remaining years
*/
import java.util.*;
public class ConvertTime
{
public static void main(String[] args)
{
//declare your variables here including this scanner declaration
Scanner keyboard = new Scanner(System.in);
//start your code here.
}
}

Finish 1. Prompt the user to input a measure in total years. 2. Convert the total years into millenniums, centuries, scores, decades, and remaining years. 3. Print the values to the screen. For example, if a user inputs 2574 year, the program should output 2 millenniums, 5 centuries, 3 score, 1 the program ConvertTime java to meet the following conditions. decade, and 4 years. If the user inputs 48 years, the program should output 0 millenniums, O centuries, 2 score, O decades, and 8 years

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!