Hi guys, I have to write a program with a loop that stops at the user's inputted sum.
A sample output would be this.
Enter your test value 123
Even integer Sum
2 2
4 6
6 12
8 20
10 30
12 42
14 56
16 72
18 90
20 110
22 132
My problem is that I cannot figure out how to stop the loop at the user's defined sum. Any assistance on this would be greatly appreciated. Thanks.