Hello everyone..I managed to write the program bUT I can get the last line to work properly:
Code:
/* Program 1*/
#include <stdio.h>
int main(void)
{
char myname[20];
char friendname[20];
char telnum[7];
printf("Enter your name:");
gets(myname);
printf("Enter your friends name:");
gets(friendname);
printf("Enter your friends telephone number:");
gets(telnum);
printf(" %c telephone %c on %c",myname,friendname,telnum);
return 0;
}
How to I put the code.. I want this line: "myname" telephone "friendname" on "telnum"
Plzzzz help for this last bit..