CodeSolved

Solved Programming Questions & Exercises

Calculate the daily profit of ice cream sales

Practice Easy 2113/ Download 3 Views New
Write a program that allows an ice cream salesman to calculate the amount of profits from the sale of ice cream by entering the cost and daily sales information. This program must receive the following values ​​from the user:
  • Cost of buying or making ice cream bread
  • The cost of buying or building your own ice cream
  • The sale price of any ice cream to customers
  • The number of ice cream sold in a day
Then, using this data, calculate and display the daily net profit. For example, if the cost of ice cream bread is 4,000 tomans, the cost of ice cream of 4,000 tomans, the price of the ice cream is 2 thousand tomans and the number of sales is 2, the program should display the entire day's profit. The program can help the ice cream shop easily manage and analyze its daily income and profit.

0 Answers

Submit answer

Submitting answers is currently unavailable.

×
×
Close