I am confused on how I am supposed to set up the units for my program, and how to correctly display them in the console. Here is a description of my program.

To display the nonzero denominations only, using singular words for single units such as 1 dollar and 1 penny, and plural words for more than one unit such as 2 dollars and 3 pennies. You must use nested if statement when displaying the output.

Sample run:
Enter an amount in double, for example 11.56: 1.56
Your amount 1.56 consists of
1 dollar
2 quarters
1 nickel
1 penny

Here is the code

```javascript
package displayOutput;

import java.util.Scanner;

public class DisplayOutput {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Enter an amount in double, for example 11.56: ");
double number = input.nextDouble();
double number1 = (double)(System.currentTimeMillis() % 1);
double number2 = (double)(System.currentTimeMillis() / 1 % 25);
double number3 = (double)(System.currentTimeMillis() / 1 / 25 % 10);
double number4 = (double)(System.currentTimeMillis() / 1 / 25 / 10 % 5);
double number5 = (double)(System.currentTimeMillis() / 1 / 25 / 10 / 5 % 1);
System.out.print("Your amount " + number + " consists of");
input.close();

if (number % 1 == 1)
(number1 )
System.out.print("1 dollar");
else
System.out.print(" idk wtf i`m doing");
}
}
```