Guest User

Untitled

a guest
Sep 23rd, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. void betu(string);
  6.  
  7. int main()
  8. {
  9. string c;
  10. getline(cin, c);
  11. betu(c);
  12. }
  13.  
  14. void betu(string c)
  15. {
  16. for(int i=0;i<c.length();i++)
  17. {
  18. string s=toupper(c[i]);
  19. cout<<s;
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment