fork download
  1. import java.util.Scanner;
  2. class answers{
  3. public static void main(String args[]){
  4. Scanner input = new Scanner(System.in);
  5.  
  6. System.out.println(“How much does Employee 1 make?);
  7. double emp1 = input.nextDouble();
  8.  
  9. System.out.println(“How much does Employee 2 make?);
  10. double emp2 = input.nextDouble();
  11.  
  12. System.out.println(“How much does Employee 3 make?);
  13. double emp3 = input.nextDouble();
  14.  
  15. if (emp1 > emp2 && emp1 > emp3){
  16.  
  17. System.out.println(“Employee 1 makes more than the other 2 employees”);
  18. }
  19. else if (emp1 emp1){
  20. System.out.println(“Employee 2 makes more than employee 1);
  21.  
  22. }
  23. else{
  24. System.out.println(“I MAKE MORE BITCHES!!!);
  25. }
  26. }//end main
  27. }//end class100
Not running #stdin #stdout 0s 0KB
stdin
12345
123456
1234567
stdout
Standard output is empty