I cannot figure out how to code last paragraph. Been at it for HOURS. This assig
ID: 440034 • Letter: I
Question
I cannot figure out how to code last paragraph. Been at it for HOURS. This assignment is DUE 11pm tonight! If the grandtotal is like $21, the billsdetereminer will be 1.05....how to you code to make the number of 20 dollar bills round to the next highest integer?????? The person will need two 20 dollar bills! Gahhhhh so frustrating!! PLEASE HELP Problem: A customer in a store is purchasing four items. Write a program that will hold the prices of the four items in four variables. Display each itemExplanation / Answer
# include # include using namespace std; const double tax = 0.07; int main () { double item1, item2, item3, item4, subtotal, taxtotal, grandtotal, billsdeterminer, remainder; int bills; 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.