This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class BeersOnTheWall { | |
public static void main(String[] args) { | |
Scanner sc = new Scanner(System.in); | |
System.out.println("Enter the amount of hours in your trip:"); | |
int hours = sc.nextInt(); | |
System.out.println("Now the minutes:"); | |
int minutes = sc.nextInt(); |