Sep 30, 2020 at 5:29am
QUESTION: so I have the code except the results are not accurate, I tried double and float
Here is the code
1 2 3 4 5
|
cout << '\n';
cout << " The guessed rate would be: " << new_price << " cents/KWHr\n";
cout << "The desired rate should be: " << end_price << " cents/KWHr\n";
|
Last edited on Sep 30, 2020 at 7:09am