mattierichardson

Tire Pressure

Jan 30th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class Program {
  4.  
  5. public static void main(String[] args) {
  6. // Mattie & Tailer
  7. // 4th Period
  8. //Tire Pressure 1
  9.  
  10. Scanner sc = new Scanner(System.in);
  11. int x;
  12. System.out.println("What is tire pressure at?");
  13. x=sc.nextInt();
  14.  
  15.  
  16.  
  17. if(x<25) {
  18. System.out.println ("TIRE LOW");
  19.  
  20. }
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment