Change all of the variables to type float. Does this change the output of the program? Is this what you expected? Now give the variables different names, and change the lines beginning with cout ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results