1. Engineering
  2. Electrical Engineering
  3. 2 rewrite the following two pieces of code to avoid...

Question: 2 rewrite the following two pieces of code to avoid...

Question details

2 Rewrite the following two pieces of code to avoid using break and continue: char c while (cin > c) if (cE break; cout << c = << c << endl ; int i =-5, n-50, total = 0; while (i < n) if ( i-0) continue; total +i; cout << Total is << total << endl; 3 What is the output of the following code? #include <iostream> using namespace std; int num -0, times-1;
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution