Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. {
  2. nickels = remainings / 5;
  3. }
  4.  
  5. int pennies = remainings % 5;
  6.  
  7. int total = quarters + dimes + nickels + pennies;
  8. {
  9. printf("%i\n", total);
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement