Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise #3: (12 points) The main goal of a given store is to buy and package plastic cups. It collects a big number of plastic

image text in transcribed
Exercise #3: (12 points) The main goal of a given store is to buy and package plastic cups. It collects a big number of plastic cups, packages them into smaller groups/packages. Then it sells the packages to customers. Write a program to compute the expected total profit of the store. First, your program should read the following from the user: 1. The amount of collected cups by the store, 2. The unit price of each cup, 3. The amount of cups in each group/package, and 4. The selling price of each package. Your program then computes the following: 1. The total cost of buying all the plastic cups. 2. The total number of packages that can be formed by the given amount of cups, and the remaining cups without being packaged. 3. The total selling price of all the packages, 4. The total profit of the store, which will be equal to the difference of the total cost and the total selling price of all packages. Exercise #3: (12 points) The main goal of a given store is to buy and package plastic cups. It collects a big number of plastic cups, packages them into smaller groups/packages. Then it sells the packages to customers. Write a program to compute the expected total profit of the store. First, your program should read the following from the user: 1. The amount of collected cups by the store, 2. The unit price of each cup, 3. The amount of cups in each group/package, and 4. The selling price of each package. Your program then computes the following: 1. The total cost of buying all the plastic cups. 2. The total number of packages that can be formed by the given amount of cups, and the remaining cups without being packaged. 3. The total selling price of all the packages, 4. The total profit of the store, which will be equal to the difference of the total cost and the total selling price of all packages

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Audit Workbook

Authors: Azhar Ul Haque Sario

1st Edition

B0C9SG1YC6, 979-8851207891

More Books

Students also viewed these Accounting questions

Question

what is the purpose of using ( % 17 ) ???

Answered: 1 week ago