Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <cs50.h>
- #include <string.h>
- #include <ctype.h>
- int main(void)
- {
- printf("input name: ");
- string name = GetString();
- int start = 1;
- while(strcmp(&name[start], " ") == 0)
- {
- start++;
- printf("%cn", toupper(name[start]));
- }
- start++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement