Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void betu(string);
- int main()
- {
- string c;
- getline(cin, c);
- betu(c);
- }
- void betu(string c)
- {
- for(int i=0;i<c.length();i++)
- {
- string s=toupper(c[i]);
- cout<<s;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment