Advertisement
Gauge1417

Untitled

Jan 30th, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. /*Gauge Smithee
  2. * 01-29-20
  3. * Paired Programming
  4. * TirePressure */
  5.  
  6. import java.util.Scanner;
  7.  
  8.  
  9. public class Program {
  10.  
  11. public static void main(String[] args) {
  12. // Gauge = Driver, Avery = Navigator
  13. Scanner sc = new Scanner(System.in);
  14. int pressure;
  15. System.out.println("Enter tire pressure in PSI.");
  16. pressure = sc.nextInt();
  17.  
  18. //Gauge = Driver, Avery = Navigator
  19. if(pressure < 25) { //printing out TIRE LOW
  20. System.out.println("TIRE LOW");
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement