Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Check Upper case
- #include<stdio.h>
- int main(){
- char x;
- int i,c=0;
- for(i=1;i<=10;i++){
- scanf(" %c",&x);
- if(x=='A'){
- c++;
- }
- }
- printf("%d",c);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement