Ask Question
30 April, 06:26

How do you loop a fraction

+5
Answers (1)
  1. 30 April, 06:35
    0
    How come when I attempt to iterate through a loop (for or while) I am unable to increase it by a fraction (let's say 0.5). If I start with a variable defined as 0 then ask it to increase by 1 each time (++) up until 5 it works fine. However, if I ask it to increase by 0.5 it causes an infinite loop. Clearly there is an error with the incremental formula.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “How do you loop a fraction ...” in 📗 Mathematics if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers