Question: A program stores sales amounts in two double variables named marySales and jimSales. Write the C++ code to assign the highest and lowest sales amounts
A program stores sales amounts in two double variables named marySales and jimSales. Write the C++ code to assign the highest and lowest sales amounts to the highSales and lowSales variables, respectively, and then display the contents of those variables. (You can assume that both sales amounts are different.)
Step by Step Solution
3.48 Rating (161 Votes )
There are 3 Steps involved in it
if marySales jimSales lowSales marySa... View full answer
Get step-by-step solutions from verified subject matter experts
