Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (cin.get()=='.'
- cin << cents;
- else
- cents = 0;
- dosh = (money*100+cents);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement