What are the outputs from the follow: 1. int i=10,j=15; i++; cout << i << " " << j << endl; i=j; j=7; cout << i << " " << j << endl; 2. int x=5; if(x>0) cout << "Ice"; if(x<10) cout << "cream"; if(x>20) cout << "Sunday"; 3. double d=1.95; int i=d; cout << d << " " << i << endl; 4. The person enters 10 50 5. int x,i=3; cout << "Tape" << endl; while(i>0) { cin >> x; cout << "Go" << endl; if(x>10) cout << "Play"; if(x<10) cout << "Stop"; if(x==10) cout << "Pause"; cout << endl; i--; } cout << "Rewind" << endl; 5. for(int i=2; i<10;i+=3){ if(i%2==0 && i>6) cout << i << " Hat" << endl; if(i%2==0 || i>9) cout << i << " Glove" << endl; } 6. int i=25; double k; k=i/4; cout << k << endl; k=i/4.0; cout << k << endl; i=15%6; cout << i << endl; 7. This is tricky....Look carefully! int i=1; while(i<10) { cout << i << endl; switch(i) { case 2: cout << "Two"; break; case 3: cout << "Three"; break; case 4: cout << "Four"; i=0; break; case 6: i=5; cout << "Five"; break; case 7: cout << "Seven"; break; case 8: cout << "Eight"; break; default: cout << "Why"; } cout << endl; i+=3; } 8. #include #include using namespace std; int main() { ofstream data("name.txt"); data << "Hello there" << endl; cout << "My name is Earl" << endl; cerr << "Watch me on NBC!:" << endl; data << "What's your name?" << endl; data.close(); } What is displayed on the screen, and what is written to a file? What is the name of the file? 9. #include #include using namespace std; int main() { double total=0,item; ifstream data("sales.txt"); if(!data) { cerr << "File not found!"; return -1; } while(!data.eof()) { data >> item; if(item>0) total+=item; } cout << "Total " << total << endl; data.close(); return 0; } Sales.txt contains the follow lines: 10 .99 -5 .01 10. If the program name is fish.exe and you pass command line arguments: 10 15 What is the output of the program below when run as: fish.exe 10 15 int main(int argc, char* argv[]){ cout << argc << endl; for(int i=0; i