Everything can be made up

     (a) one makeup per day 

     (b) nothing can be made up last two days

  If there's no room you need to wait. 

  There will be teams. 

  You will not depend on your teammates. 

  There will be one team activity, it's a bonus, and it's due at the end of week 4. 

     
http://www.petinsurance.com/healthzone/pet-articles/pet-breeds/~/media/All%20PHZ%20Images/Article%20images/GSPCloseup.ashx

import java.net.URL; 
import javax.swing.ImageIcon; 
import javax.swing.JOptionPane; 

public class Nine {
  public static void main(String[] args) throws Exception {
     URL imageLocation = new URL("http://www.petinsurance.com/healthzone/pet-articles/pet-breeds/~/media/All%20PHZ%20Images/Article%20images/GSPCloseup.ashx"); 
     JOptionPane.showMessageDialog(null, " sdfgc xowerijfcweijrx ergjer og", "Title", JOptionPane.PLAIN_MESSAGE, new ImageIcon(imageLocation));      
  }
}


import java.util.Scanner; 

class Eight {
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);  
    System.out.print("Gallons: "); 
    Double gallons = s.nextDouble(); 
    System.out.print("Car efficiency: "); 
    int mpg = s.nextInt(); 
    System.out.print("Price per gallon: "); 
    Double price = s.nextDouble(); 
    System.out.println( 
      " Cost per 100 miles is: " + (100.0 / mpg * price) 
                      );
    System.out.println("Autonomy: " + ( gallons * mpg )); 
  }
  
}

import javax.swing.JOptionPane;

public class Four {
  public static void main(String[] args) {
    String name = JOptionPane.showInputDialog("What is your name?");  
    System.out.println( "Hello, " + name + "!"); 
  }
}


import javax.swing.JOptionPane;

public class Six {
  public static void main(String[] args) {
    String name = JOptionPane.showInputDialog("What is your name?");  
    String task = JOptionPane.showInputDialog("I am Hal, what do you want me to do?");  
    System.out.println("Sorry," + name + " I can't do that.");     
  }
}



import javax.swing.JOptionPane;

public class Three {
  public static void main(String[] args) {
    JOptionPane.showMessageDialog(null, "Hello, Levi!");  
  }
}


class Two {
  public static void main(String[] args) {
    System.out.println(1); // this is a Java comment
    System.out.println(1 + 1); // everything to the end of this line is ignored by the compiler
    System.out.println(2 * 3); // I sometimes color comments to make them more visible in notes
    System.out.println(1 + 2 * 3); // there's no need for them to be colored though, of course
    System.out.println(2 * 3 + 1); 
    System.out.println(2 * (3 + 1));                     // comments can facilitate reading the code
    System.out.println(2 / 3);                           // this expression evaluates to 0 and not to 0.66
    System.out.println(3.14);                            // you see the difference between an integer and a floating-point number
    System.out.println(2.0);                             // this is how you'd write an integer as a floating point number
    System.out.println(2.0 / 3.0);                       // now this does evaluate to 0.66 as expected
    System.out.println(4 * 2 / 3); 
    System.out.println(4.0 * 2.0 / 3.0); 
    System.out.println(2 / 3 * 4);                // careful with the order of operations!
    System.out.println(2.0 / 3.0 * 4.0); 
    System.out.println(1 - 2 + 3); 
    System.out.println(1 - (2 + 3)); 
    
    /* here's another type of comment, the one that cannot be nested (see p. 40 in the book) 
     but that can span several lines; the two examples above demonstrate how important it is
     to know the order of operations and how parentheses change it. 1 - 2 + 3 is evaluated left
     to right since + and - have the same precedence (priority). Thus 1 - 2 + 3 = (1 - 2) + 3 = 
     = -1 + 3 = 2 while 1 - (2 + 3) is 1 - 5 which in turns evaluates to -4. Same for 1 - 2 * 3
     which evaluates to -5 since * and / have (same) higher precedence than + and -. 
     
     If you have trouble reading a comment in lightgrey you can always highlight it with your mouse. */ 
    

    System.out.println(1 + 2 - 3); 
    System.out.println(1 + (2 - 3)); 
    System.out.println(7 % 3); 
    System.out.println(4 % 5); 
    System.out.println(1 < 2); 
    System.out.println(1 > 2); 
    System.out.println(1 == 2); 
    System.out.println(2 == 2); 
    System.out.println(2 <= 2); 
    System.out.println(2 >= 2); 
    System.out.println("Larry" + "Bird"); // wow: strings being concatenated!
    System.out.println("a" + "1"); 
    System.out.println("a" + 1); 
    System.out.println("1" + "1"); 
    System.out.println("1" + 1); 
    System.out.println(1 + 1); 
    System.out.println("1" + (1 + 1)); 
  }
}

--