4 ms·
subtracting 1 from your loop variable and running again is common sense and the quickest way to narrow the problem. also, some people can still think while typi
by iraqmtpizza 3y ago
subtracting 1 from your loop variable and running again is common sense and the quickest way to narrow the problem. also, some people can still think while typing, still think while compiling and running.
this is all assuming that someone is trying to be productive rather than stop and ponder the abstraction that is a loop and divine its nature in a rigorous way
if the students are having problems with loops, that's not surprising considering that computer science doesn't teach software development skills. like... at all.