ATM plz help for loop statment so my question is I have 1000, 2000, 5000, so the
ID: 3613449 • Letter: A
Question
ATM plz help for loop statment so my question is I have 1000, 2000, 5000, so the program will display like this if I need 1..............3 5..............1 10..............1 20.............1 50..............9 ATM plz help for loop statment so my question is I have 1000, 2000, 5000, so the program will display like this if I need 1..............3 5..............1 10..............1 20.............1 50..............9Explanation / Answer
please rate - thanks don't really understand your question I think this is what your looking for #include #include using namespace std; int main () {int fifties,twenties,tens,fives,ones,amount,savedamount; coutamount; while(amount>0) {savedamount=amount; fifties=amount/50; amount%=50; twenties=amount/20; amount%=20; tens=amount/10; amount%=10; fives=amount/5; 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.