Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- #include <string.h>
- using namespace std;
- int main() {
- int init;
- int dollar = 100;
- int cent = 10;
- int ccent = 20;
- int cccccent = 50;
- int one = 1;
- cout << "How much do you wanna change (one cent coins :p)?" << endl;
- cin >> init;
- strlen(init) >> x;
- cout << x << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement