DEBUG06-01 - A high school is holding a recycling...

This preview shows page 1 out of 1 page.

// A high school is holding a recycling competition // This program allows a user to enter a student's // year in school (1 through 4) and number of cans collected // Data is entered continuously until the user enters 9 // After headings, output is four lines -- // one for each school year class start Declarations num year num cans num SIZE = 4 num QUIT = 9 num collectedArray[SIZE] = 0, 0, 0 string HEAD1 = "Can Recycling Report" string HEAD2 = "Year

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture