61 Trying to code in C.
S sgbros1 New Member Jul 29, 2019 952 -6 0 Jul 20, 2015 #34,343 63 Final assignment. Have to find the factorial of a number when inputted.
lenscas Over-Achiever Jul 31, 2013 2,015 1,801 248 Jul 20, 2015 #34,344 64 so you mean 3!=6 ? because a loop solves that one unless C has a function for it build in or there is a pitfall in C I don't know about
64 so you mean 3!=6 ? because a loop solves that one unless C has a function for it build in or there is a pitfall in C I don't know about
lenscas Over-Achiever Jul 31, 2013 2,015 1,801 248 Jul 20, 2015 #34,346 66 why a while loop? unless I don't know something isn't a for loop better? not that it really matters as you can use a while loop + a counter to get the same effect
66 why a while loop? unless I don't know something isn't a for loop better? not that it really matters as you can use a while loop + a counter to get the same effect
S sgbros1 New Member Jul 29, 2019 952 -6 0 Jul 20, 2015 #34,347 67 Because the rules say only while loops I would use do while loops though.
lenscas Over-Achiever Jul 31, 2013 2,015 1,801 248 Jul 20, 2015 #34,348 68 still not that hard, just use the while loop as a for loop
S sgbros1 New Member Jul 29, 2019 952 -6 0 Jul 20, 2015 #34,349 69 I already finished. Not too hard. I'm thinking of an april fools joke mod already, can't wait for Java.
69 I already finished. Not too hard. I'm thinking of an april fools joke mod already, can't wait for Java.
P pizzawolf14 New Member Jul 29, 2019 566 0 0 Jul 20, 2015 #34,350 70 I know java but I'm just way too lazy to do anything productive with it
S sgbros1 New Member Jul 29, 2019 952 -6 0 Jul 20, 2015 #34,360 80 wb I finished a programming assignment while you were gone. It's not the factorial one.