Solution for Exercise 13-17
ex1317
#include <stdio.h>
int main()
{
int first,second;
printf("Type your first initial: ");
first = getchar();
printf("Type your second initial: ");
second = getchar();
printf("Your initials are '%c' and '%c'\n",first,second);
return(0);
}
Output
Type your first initial: D
Type your second initial: Your initials are 'D' and '
'
Notes
* This program behaves exactly as written.
Copyright © 1997-2025 by QPBC.
All rights reserved
