What is wrong with the following C+ + code? How would you fix it? int sum; for (int i=0; i<1000; + +i) sum + = i; { printf ("Sum of 0 to 999 is %d/n", sum);
+3
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is wrong with the following C+ + code? How would you fix it? int sum; for (int i=0; i ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » What is wrong with the following C+ + code? How would you fix it? int sum; for (int i=0; i<1000; + +i) sum + = i; { printf ("Sum of 0 to 999 is %d/n", sum);