Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- typedef long double ld;
- typedef long long ll;
- void convert(int x,char d[])
- {
- stringstream ss;
- ss<<x;
- ss>>d;
- }
- int main()
- {
- char d[555];
- int c=35;
- convert(c,d);
- cout<<d<<endl;;
- c+=1150;
- convert(c,d);
- cout<<d<<endl;;
- c+=1198;
- convert(c,d);
- cout<<d<<endl;;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement