Write a complete Java program that makes sure that the tire pressures match. The
ID: 3627643 • Letter: W
Question
Write a complete Java program that makes sure that the tire pressures match. The front tires of a car should have the same pressure and same with the rear tires (but not necessarily the same pressure as the front).Your program should read in the pressure of the four tires and writes a message that says if the pressures are good or not.
Your program should make sure that the input pressures are within the range: 30 – 40, inclusive. If invalid pressures are entered, alert the user and discard the input, and ask again for input. This validation should continue till the user enters valid pressures for all 4 tires.