Skip to content

Instantly share code, notes, and snippets.

Coding (hopefully)

Reagan Russell nitrodragon

Coding (hopefully)
  • Pacific Northwest, United States
View GitHub Profile
nitrodragon /
Created Aug 11, 2017
Ever wondered exactly how many bottles of beer on the wall there really are?
import java.util.Scanner;
public class BeersOnTheWall {
public static void main(String[] args) {
Scanner sc = new Scanner(;
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.