If the cost of one type of phone service is $7.45 plus 6.9 cents for each unit u
ID: 3735818 • Letter: I
Question
If the cost of one type of phone service is $7.45 plus 6.9 cents for each unit used over 56 units, write enough C++ code to display the correct charge for phone service if the variable UNITS contains the units used. No functions (including the main() function) or comments are necessary and any variables that you use will be assumed to be of type double. You may assume that UNITS will contain a non-negative int after input.
// assume the following lines have executed
int UNITS;
cin >> UNITS;
Explanation / Answer
if (UNITS > 56) { coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.