Topic 4: Loops

Question 1 Correct2.50 points out of 2.50Flag question Question text What is the output of the following code? int main() {    int cnt = 10;  int num = 1;    do {        cnt = cnt + 1;        num = num – 1;    } while (num != 0);    cout << cnt;    return 0; }Select one:a. 10b. 11  c. […]Topic 4: Loops was first posted on January 11, 2020 at 8:59 am.©2019 “Superb Professors”. Use of this feed is for personal non-commercial use only. If you are not reading this article in your feed reader, then the site is guilty of copyright infringement. Please contact me at superbprofessors.comFeed enhanced by Add To All

"Order a Custom Paper on Similar Assignment! No Plagiarism! Enjoy 20% Discount"