Ten Additions

  1. Please develop a program which will randomly generate 10 addition exercises for the user to practice.
  2. You already learned how to check whether the user mentally calculates the addtions correctly. Here is a special requirement: In this exercise, we want to limit the summation of the two numbers to two digits (you must agree that a summation less than 100 will be easier to calculate). Please draw a flowchart and discuss with TAs before you proceed to write the detailed code.
  3. You also learned how to measure the time spent by the user to finish these 10 additions. Add this feature to your program. At the end of this exercise, show a message "You spent XX seconds in this exercise."
  4. Don't forget to use conditional operator (P.133) to handle "You made 2 mistake(s) today."