Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //A string is read from the keyboa
- //rd. Find out how many digits, how
- //many uppercases and how many lowe
- //rcases that string contains.
- #include <stdio.h>
- #include <ctype.h>
- #include <conio.h>
- #include <string.h>
- void main (void){
- char str[20];
- printf("Enter the name to scan it: \n\n");
- scanf("%s", str);
- n=strlen(&str);
- for(i=n;i>=0;i-1);
- printf(%c, str[i]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement