subject

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);

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 11:00
This chapter lists many ways in which becoming computer literate is beneficial. think about what your life will be like once you’re started in your career. what areas of computing will be most important for you to understand? how would an understanding of computer hardware and software you in working from home, working with groups in other countries and contributing your talents.
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
*! 20 points! *jeff wants to create a website with interactive and dynamic content. which programming language will he use? a. dhtml b. html c. css d. javascript
Answers: 1
question
Computers and Technology, 23.06.2019 21:50
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
question
Computers and Technology, 23.06.2019 22:20
If i uninstall nba 2k 19 from my ps4 will my career be gone forever?
Answers: 2
You know the right answer?
What is wrong with the following c++ code? how would you fix it? int sum; for (int i=0; i< 10...
Questions
question
Mathematics, 26.03.2020 03:26
question
Social Studies, 26.03.2020 03:26
question
Mathematics, 26.03.2020 03:26
Questions on the website: 13722360