P
pipito
Hi...i am a beginner in C programming...
my question is like this...
im using the scanf in C to accept input data in output area,
printf("name: ");scanf("%s",name);
printf(Address: ");scanf("%s",address);
printf("age: ");scanf("%d",age);
when i run the program, i use a spacebar in the input data, the
following string after i press the space bar doesnt read anymore or it
skip and going to the next line
name: pipito otso
address: manila philippines
age: 18
i want to input like that one
but it appear like this one
name: pipito otso
address:
age: ------<<<<<the cursor was in this area...but i want to put data in
address:
what are the commands or the best way in order to make it
pls help me experts....
pipito....
my question is like this...
im using the scanf in C to accept input data in output area,
printf("name: ");scanf("%s",name);
printf(Address: ");scanf("%s",address);
printf("age: ");scanf("%d",age);
when i run the program, i use a spacebar in the input data, the
following string after i press the space bar doesnt read anymore or it
skip and going to the next line
name: pipito otso
address: manila philippines
age: 18
i want to input like that one
but it appear like this one
name: pipito otso
address:
age: ------<<<<<the cursor was in this area...but i want to put data in
address:
what are the commands or the best way in order to make it
pls help me experts....
pipito....