Fruit Amount

  1. Write a program to read input from the user.
  2. Each line consists of two columns: fruit & amount.
  3. Summarize the total amount of each fruit: