Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<ctype.h>
- int main()
- {
- int br=0;
- int brm=0;
- char c;
- while((c=getchar()) !=EOF){
- if (isupper(c))
- {
- br++;
- //c=tolower(c);
- }
- if (islower(c))
- {
- brm++;
- c=toupper(c);
- }
- printf("%c",c);
- }
- printf("Broj velikih slova %d ", br);
- printf("Broj malih slova %d", brm);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement