I am a student that just recently learn C programming and I encounter some of problem in my assignment this is my code :
#include <stdio.h>
int main()
{
char name[30];
printf("\tEnter Your Name = \n");
gets(name);
char address[100];
printf("\tPlease enter your address = \n");
gets(address);
printf ("\tYour name is = %s\n", name);
printf("\tYour address is = %s", address);
getchar();
return 0;
}
as you can see the it function correctly but I need to put tab at my input so the result should be look like this
(tab) Enter Your Name = (tab) user input (tab) Please enter your address = (tab) user input (tab) your name is = base from user input (tab) your address is = base from user input
I hope that someone can help and explain to me. Thanks