find the most efficient way of making change for any amount up to$200.00. for ex
ID: 3618551 • Letter: F
Question
find the most efficient way of making change for any amount up to$200.00. for example if the amount of change is $188.94, i wouldgive you: 1-$100 1-$50 1-$20 1-$10 1-$5 1-$2 1-$1 1-50 cent piece 1-25 cent piece 1-10 cent piece 1- 5 cent piece 4-1 cent piece Tell me what my change is. do not tell me what i am not getting!1-$100 1-$50 1-$20 1-$10 1-$5 1-$2 1-$1 1-50 cent piece 1-25 cent piece 1-10 cent piece 1- 5 cent piece 4-1 cent piece Tell me what my change is. do not tell me what i am not getting!
Explanation / Answer
please rate -thanks changed per your message #include int main () {int hundreds,fifties,twenties,tens,fives,twos,ones,amount; int quarters, halfdollar,dime,nickel; double amt; coutamt; amount=(int)(amt*100+.000005); //round because not allreal number can be represented coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.