yes it works fine when i do it too but the results are not what they should be. i have the import statment at the stop of my code i just forgot to copy and past it
Type: Posts; User: ebone
yes it works fine when i do it too but the results are not what they should be. i have the import statment at the stop of my code i just forgot to copy and past it
2 -
3 --
4 ---
5 ----
6 -----
7 ------
8 -----
9 ----
10 --
11 --
public class RollDice2
{
public static void main(String [] args)
{
Scanner input= new Scanner(System.in);
int dice=0,rolls=0;
System.out.println("Enter the number of dice you wish to...
hello I am new to the forum and to java and i have a program that the user inputs the time followed by am and pm and the program changes it to military time. at the end the program asks if you want...