Create a program that shows what happens when you choose to be respectful or not.


  1. Copy down your example of being respectful and where it applies (Commons, Halls, Class, Bus, Restrooms, Everywhere)
  2. Go to or use your favorite IDE
  3. Copy this code
  4. class Main {
      public static void main(String[] args){
        double chance = Math.random();
          System.out.println("bad news, you were impatient in line");
          System.out.println("great, you were patient in line");
  5. Check to be sure it runs,
  6. Modify it to choose between respectful and disrespectful behavior.
  7. What would be some ways to make the program even more interesting?