Quarters evaluates to 1. but, 41 / 25 = 1.6
Is it being rounded down to 1 ? seems to me that the round() only executes in the loop.
Lookup integer division
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
In future, please post your code and other machine generated text between [code][/code] tags.
We can't (for example), easily quote your picture to highlight particular issues.
Fuzzy pictures are a high bandwidth, low quality proxy.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.