Question: 6. [10 points] Write in the box exactly what the program segment will display. Int deer =9, bear =2; do 1 deer deer bear; cout
6. [10 points] Write in the box exactly what the program segment will display. Int deer =9, bear =2; do 1 deer deer bear; cout deer " " bear endl; beart+; 1 while deer > bear 1; 7. [14 points] Complete this program to read numbers from the keyboard and display double the number's value until a zero is entered. You do not have to prompt for each number. Hinclude using namespace std; int main () i int number, twice; cout "enter a bunch of numbers" endi; cin number; do I while ( ); Il enter decision
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
