I have figured out how to print the first initial. I need help with printing the second initial. I know that you have to test for a space and then print the letter after the space. How do you print the letter after the space?
#include <cs50.h>
#include <stdio.h>
#include <string.h>
int main(void)
{
string s = GetString( );
if (s[0] >= 'a' && s[0] <= 'z')
{
printf("%c", s[0] - ('a' - 'A'));
}
else
{
printf("%c", s[0]);
}
printf("\n");
if (s[i] = \0)
}