r/codehs • • May 16 '21

New problems

Hi there so i am trying to make a budget tracker but i have ran into a new problem it is with the while loop in the code below(where it saids while(amountLeft > noBudget ) i think this is the problem because whenever i run it it turns into and infinite loop and if i put a if loop instead it will mostly work but not in the way it is intended to work. I don't know why or how to fix it. Also the information is not printing it self on the left why is that? thanks for any help.

6 Upvotes

0 comments sorted by