Skip to content

Instantly share code, notes, and snippets.

Avatar
👍
Coding (hopefully)

Reagan Russell nitrodragon

👍
Coding (hopefully)
  • Pacific Northwest, United States
View GitHub Profile
@nitrodragon
nitrodragon / BeersOnTheWall.java
Created Aug 11, 2017
Ever wondered exactly how many bottles of beer on the wall there really are?
View BeersOnTheWall.java
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();
You can’t perform that action at this time.