Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include<iostream>
  2. #include<conio.h>
  3. #include<stdio.h>
  4. #include<string>
  5. char a[100];
  6. int s,i;
  7. void main(int m_stupr)
  8. {
  9. puts(a);
  10. getch();
  11. }
  12.  
  13. int m_stupr(char a[100])
  14. {
  15.  
  16. int count=0;
  17. cin >> a[100];
  18. for (s=0;a[s]!='\0';s++)
  19. {count++;}
  20. for (i=0;i<count;i++)
  21. {
  22. if ((a[i]>=97) && (a[i]<=122))
  23. {a[i]=a[i]-32;}
  24. return a[i];
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement