Mr Habib has three candy production machines he needs to record the total productions from all machines. Each machine has distinctive 3 character alphabetical code, every machine operates/ran twice for three days in a week. Production is calculated in kilograms (accurate to one decimal place).A program is required to record production for each machine every time it gives production Calculate total productions Calculate average production Identify which machine produced maximum and minimum Your program must include proper data entry points Error message and other outputs needs to be set clearly All variables, constants and other identifiers should have proper names

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter6: User-defined Functions
Section: Chapter Questions
Problem 14PE
icon
Related questions
Question

Mr Habib has three candy production machines he needs to record the total productions from all machines. Each machine has distinctive 3 character alphabetical code, every machine operates/ran twice for three days in a week. Production is calculated in kilograms (accurate to one decimal place).A program is required to record production for each machine every time it gives production

  1. Calculate total productions
  2. Calculate average production
  3. Identify which machine produced maximum and minimum
  • Your program must include proper data entry points
  • Error message and other outputs needs to be set clearly
  • All variables, constants and other identifiers should have proper names
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Probability Problems
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole