Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<conio.h>
- #include<stdio.h>
- #include<string>
- char a[100];
- int s,i;
- void main(int m_stupr)
- {
- puts(a);
- getch();
- }
- int m_stupr(char a[100])
- {
- int count=0;
- cin >> a[100];
- for (s=0;a[s]!='\0';s++)
- {count++;}
- for (i=0;i<count;i++)
- {
- if ((a[i]>=97) && (a[i]<=122))
- {a[i]=a[i]-32;}
- return a[i];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement