assignment switch case c ++ <p>Requirements</p> <ol> <li>VULTURE IS V, OWL IS O, EAGLE IS E...</li> <li>A <code>for</code> loop to input the data each bird watcher has collected.</li> <li>inside the <code>for</code> loop, a <code>do ... while</code> loop to input and process the data collected by one bird watcher.</li> <li>inside the <code>do ... while</code> loop a <code>switch</code> statement is used to calculate the number of eggs for each type of bird. the default option, which does nothing, is used when an <code>x</code> is entered.</li> <li>the <code>do ... while</code> loop is exited when an X is entered for the type of bird.</li> <li>The totals part is fine as per code below</li> </ol> <p>ok, now my problem is I can't seem to get through my switch case. It prompts me for the first watcher's info, when I enter it, it never moves over to the next watcher.</p> <p>The input data given is</p> <pre><code>3 E2 O1 V2 E1 O3 X0 V2 V1 O1 E3 O2 E1 X0 V2 E1 X </code></pre> <p>And here is the code that I got so far:</p> <pre><code>#include &lt;iostream&gt; #include &lt;cstdlib&gt; using namespace std; int main() { int totNrVultureEggs, totNrEagleEggs, totNrOwlEggs, nrEggs, nrVultureEggs, nrEagleEggs, nrOwlEggs, nrBirdWatchers, nrEggsEntered; char bird; // initialize grand totals for number of eggs for each type of bird cout &lt;&lt; "How many bird watchers took part in the study?"; cin &gt;&gt; nrBirdWatchers; // loop over number of bird watchers for (int i = 0; i &lt; nrBirdWatchers ;i++ ) { // initialize totals for number of eggs for each type of bird // this bird watcher saw nrVultureEggs = 0; nrEagleEggs = 0; nrOwlEggs = 0; cout &lt;&lt; "\nEnter data for bird watcher " &lt;&lt; i + 1 &lt;&lt; ":" &lt;&lt; endl; //loop over bird watchers do{ cin &gt;&gt; bird &gt;&gt; nrEggs; switch (bird) { case 'E': case 'e': nrEagleEggs = nrEagleEggs + nrEggs; case 'O': case 'o': nrOwlEggs = nrOwlEggs + nrEggs; case 'V': case 'v': nrVultureEggs = nrVultureEggs + nrEggs; default : nrBirdWatchers++; break; } }while (i &lt; nrBirdWatchers ) ; cout &lt;&lt; "Bird watcher " &lt;&lt; i + 1 &lt;&lt; " saw " &lt;&lt; nrVultureEggs; cout &lt;&lt; " vulture eggs, " &lt;&lt; nrEagleEggs &lt;&lt; " eagle eggs and "; cout &lt;&lt; nrOwlEggs &lt;&lt; " owl eggs " &lt;&lt; endl; // increment grand totals for eggs } // display results cout &lt;&lt; "\nTotal number of vulture eggs: " &lt;&lt; totNrVultureEggs; cout &lt;&lt; "\nTotal number of eagle eggs: " &lt;&lt; totNrEagleEggs; cout &lt;&lt; "\nTotal number of owl eggs: " &lt;&lt; totNrOwlEggs; return 0; } </code></pre>