Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Lethabo received two big sacks of mealie meal from his uncle's farm at a cost. Each sack contains a certain weight of ( in kilograms
Lethabo received two big sacks of mealie meal from his uncle's farm at a cost. Each sack contains a certain weight of in kilograms He decided to sell the mealie meal in smaller packets to students at residence. He wants to calculate the profit he can make if he sells the whole quantity. He divides the mealie meal into packets weighing kilograms each. He pays R per kilogram of mealie meal. He sells each packet of mealie meal at a price of R
Write a console based C# application with OOP concepts that would help Lethabo to predict how much profit he would make.
Source: : T Moyo
The program must:
Read the weights of each of the two sacks of mealie meal.
Calculate the total weight of the mealie meal.
Calculate the total cost of mealie meal.
Calculate the number of packets of mealie meal.
Calculate the total revenue from selling all the packets.
Calculate the profit to be made.
Ensure that the program uses the constant values for the cost per kilogram, selling price per packet, and sack weight.
Display the results on a console
Please be advised that if you so choose to submit a file, you need to adhere to the specified format, any documents submitted have to be submitted as a PDF
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started