Nice job!!
Type: Posts; User: BinaryDigit09
Nice job!!
Something like this:
int i = 0;
while (i < 5) {
// Do stuff
i++;
}
// Let program terminate naturally
Hi,
You're supposed to loop from 0 to 'n', but you're never checking any value against 'n' inside the loop. Instead, you're looping as long as 'n' > 0 but problem is 'n' will ALWAYS be greater...