The purpose of the program is to
demonstrate how to INPUT data from the standard input device
(the keyboard) and how to OUTPUT data to the standard output
device (screen) in certain format.
Add code to the program to complete it.
Compile and run this C++ program.
Try the input values (12, 24, 5) and (6, 12, 5).
Do you get nonzero cost for the later?
If yes, you are ok.
If not, check the data types of variables in the formula calculting cost.
You may need to handle data conversion.