Question: don't know why my code won't output correctly, please help! 1: Compare output Output differs. See highlights below. Special character legend Input -1 Your output
don't know why my code won't output correctly, please help!




1: Compare output Output differs. See highlights below. Special character legend Input -1 Your output Sum of numbers 1 + 2 + -1 is 0 Expected output Invalid entry. Integer should be between 2 and 100. 2: Compare output ^ Output differs. See highlights below. Special character legend Input 101 Your output Sum of numbers 1 + 2 + + 101 is 5151 Expected output Invalid entry. Integer should be between 2 and 100. 3: Compare output 3: Compare output Input Your output Sum of numbers 1 + 2 is 3 4. Compare output ^ Input 79 Sum of numbers 1 + 2 + + 79 is 3160 . Your output 5: Compare output Input 100 Your output Sum of numbers 1 + 2 + + 100 is 5050 5 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
