I am trying to make a boolean test so that if one of the tire pressures is below 35 or over 45 the system outputs \"bad inflation\".
In my class I must use a boolean, wh
Look at the last if statement. You are doing assignment not comparison.
BTW. Your program will always return false once you do that... look at your logic. Where do you set goodPressure to true?