So, I had my C Programming Language finals the other day... 1 reply

Please wait...


I didn't make it!

0 XP

#1 4 years ago

...and I had to create four programs. I'm not good at programming, but I messed up on the easiest one and actually did better on the more difficult ones. The first program was supposed to get numbers from the user and add them continuously until the user gave the number 0 (the program's process being this: 2+2=4+2=6+5=11+6=17+0= program ends). I don't remember what I did, but my program multiplied its own numbers by 2 (2x2=4x2=8x2=16 etc etc) and I made it into a neverending loop. My professors are gonna kill me, but eh, at least I can say I made a functional program....


Smarter than your average stump.

71 XP

26th June 2003

0 Uploads

26,967 Posts

0 Threads

#2 4 years ago


When in doubt, gas it!