[B]Hope someone could help me on this one, thanks in advanced!
My objective is to repeat an input until the user hit/press the letter 'N'
But the problem is when it comes to the part of answering the question:
"Add Another Number? [Y/N]"
the program stops[/B]
int num1, num2, total;
printf("Enter first number: ");
printf("Enter second number: ");
total = num1 + num2;
Total is: %d", total);
printf("Add another number? [Y/N]: ");
} while (ans != 'N');