Ok i got this code so far but iam sorta stuck right now.
Iam stuck on how to make it get the first letter of the nameCode:#include <stdio.h> void strip_newline( char *str, int size ) { int i; for ( i = 0; 1 < size; i++ ) { if ( str[i] == '\n' ) { str[i] = '\0'; } return; } } int main() { char name[50]; char letter[0];/*='k'*/ printf("Please enter your first name:"); scanf( "%s", letter ); }