Skip to content

Tag: subtraction

Subtraction loops in java

I am new to java and am stuck on this challenge. I am to calculate the state of water depending on the inputed temp and altitude. However, for every 300 metres (for altitude) the boiling point is to drop by 1 degree. I am confused as to how to make it a loop that will take one off for every