Can someone help me with a program in C++ that uses functions and ask the user the dimensions of a box and the finds the volume. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Can someone help me with a program in C++ that uses functions and ask the user the dimensions of a box and the finds the volume.

It also should multiply the volume * 0.80 to find the cost to make the box and then multiply the volume * 1.30 to find the resale price. And finally substract the cost to make to the saleprice to find the profit. THE CODE MUST USE FUNCTIONS and Im kind of lost😭

11th Oct 2022, 5:21 PM
The Father
The Father - avatar
2 Answers
+ 1
You'll need to show what you have written so far for help. Write your code into the code playground and then attach it here.
11th Oct 2022, 6:53 PM
Ausgrindtube
Ausgrindtube - avatar
+ 1
What are you lost about? The input and math parts are way simple, and that's all you need.
12th Oct 2022, 2:52 AM
Emerson Prado
Emerson Prado - avatar