fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main (void)
  4. {
  5. int choice=0, homework=0, x, v , i=0, input1 = 0, sum = 0, input2 = 0, largest = 0, total = 0;
  6. while ( choice != 5 )
  7. {
  8.  
  9. cout << " Would you like to run Question 1, 2, 3, or 4? " << endl;
  10. cout << " Make a selection by entering 1, 2, 3, or 4 " << endl;
  11. cout << " 1. Display message Do Homework! 7 times" << endl;
  12. cout << " 2. Calculate the sum of 15 integers " << endl;
  13. cout << " 3. Display the largest number out of 15 integers entered " << endl;
  14. cout << " 4. Calculate the sum of the sequence given " << endl;
  15. cout << " 5. Exit the program " << endl;
  16. cin >> choice;
  17. switch(choice)
  18. {
  19. case 1:
  20. while ( homework < 7)
  21. {
  22. cout << " Do Homework! " << endl;
  23. homework++;
  24. }
  25. break;
  26. case 2:
  27. while ( input1 != 15 )
  28. {
  29. cout << "Please enter an integer and press ENTER " << endl;
  30. cin >> x;
  31. sum+= x;
  32. input1++;
  33. }
  34. cout << " The sum of the integers you entered is " << sum << endl;
  35. break;
  36. case 3:
  37. while ( input2 != 15 )
  38. {
  39. cout << " Please enter and integer and press ENTER " << endl;
  40. cin >> v;
  41. input2++;
  42. if ( v > largest )
  43. largest = v;
  44. }
  45. cout << " The largest number you entered was " << largest << endl;
  46. break;
  47. case 4:
  48. while ( i <= 50 )
  49. {
  50. total+= i * i;
  51. i++;
  52. }
  53. cout << " The sum of the sequence is " << total << endl;
  54. break;
  55. case 5:
  56. cout << " You chose to exit the proram, Thank you! " << endl;
  57. break;
  58. default:
  59. cout << " Invalid input, please choose 1, 2, 3, or 4 " << endl;
  60. }
  61. }
  62. return 0;
  63.  
  64. }
  65.  
Runtime error #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run Question 1, 2, 3, or 4? 
 Make a selection by entering 1, 2, 3, or 4 
 1. Display message Do Homework! 7 times
 2. Calculate the sum of 15 integers 
 3. Display the largest number out of 15 integers entered 
 4. Calculate the sum of the sequence given 
 5. Exit the program 
 Invalid input, please choose 1, 2, 3, or 4 
 Would you like to run