Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Gauge Smithee
- * 01-29-20
- * Paired Programming
- * TirePressure */
- import java.util.Scanner;
- public class Program {
- public static void main(String[] args) {
- // Gauge = Driver, Avery = Navigator
- Scanner sc = new Scanner(System.in);
- int pressure;
- System.out.println("Enter tire pressure in PSI.");
- pressure = sc.nextInt();
- //Gauge = Driver, Avery = Navigator
- if(pressure < 25) { //printing out TIRE LOW
- System.out.println("TIRE LOW");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement