Homework 1 UCR CS10: Introduction to Computer Science Fall Quarter 2003, Lecturers: Brian Linard, Kris Miller Due Tuesday October 7 at the BEGINNING of lecture. 1. Self-test Excercise #1-22 (Chapter 1, #22) 2. Self-test Excercise #1-23 3. Self-test Excercise #1-24 4. Self-test Excercise #1-27 5. Self-test Excercise #2-2 (Chapter 2, #2) 6. Self-test Excersice #2-3 7. Self-test Excersice #2-4 8. Self-test Excersice #2-5 9. Self-test Excersice #2-7 10. a) What is the exact output for the following program. You can supply any number for the input. #include using namespace std; int main() { int number_of_touchdowns = 0; int points_per_touchdown = 7; int total_score = 0; cout << "Enter the number of touchdowns the Broncos scored.\n"; cin >> number_of_touchdowns; total_score = number_of_touchdowns * points_per_touchdown; cout << "The Broncos scored " << total_score << " points.\n"; return 0; } b) Rewrite the preceding program to include fieldgoals. Fieldgoals count for 3 points. You will need to ask the user to enter the number of fieldgoals. The total score will now be based on the number of touchdowns and the number of fieldgoals. Use meaningful names for any variables you need to add to your program.