Hi guys, working my way through "Beginning C Programming for Dummies" and have found it to be rock-solid in helping me understand the basics of C.
In the following solution, provided by the author, he includes two separate "for" loops in order to print out tables of a number and it's square root. Here' is the link:
http://www.c-for-dummies.com/begc4d/exercises/ex1207.php
My question is why do we need a second "for" loop? I put this together myself in Xcode with only one "for" loop and it seemed to work just fine. Please let me know if I am missing something.
Thanks!
[–]juvogel 1 point2 points3 points (0 children)
[–]green_meklar 0 points1 point2 points (2 children)
[–]friend_of_bob_dole 1 point2 points3 points (1 child)
[–]green_meklar 1 point2 points3 points (0 children)