Timeline for done with initials coding pset2
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 9, 2016 at 6:45 | comment | added | Jere | i got it to print the first initial but the second is printing #include <stdio.h> #include <cs50.h> #include <ctype.h> #include <string.h> int main(int argc, string argv[]) { int i = 0; { //prints initials in capital letters printf("Your Name: \n"); string N = GetString(); argv[i] = N; printf("%c", toupper((char) argv[i][0])); } printf("\n"); } | |
Sep 9, 2016 at 5:23 | vote | accept | Jere | ||
Sep 8, 2016 at 14:59 | history | answered | Mihai | CC BY-SA 3.0 |