Nikki12345671

Tire Pressure 1

Jan 30th, 2019
102
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. public class Program {
  3.  
  4. public static void main(String[] args) {
  5. // TirePressure1
  6. //Nikki Forehand
  7. //Joseph Sweet
  8.  
  9. Scanner sc= new Scanner (System.in);
  10. int pressure;
  11. System.out.println("Enter Tire Pressure: ");
  12. pressure = sc.nextInt();
  13. if(pressure < 25 ) {
  14.  
  15. System.out.println("TIRE LOW");
  16. }
  17. }
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment