>>6 fixed
[code]#include <stdio.h>
int main (void)
{
char name[100];
int x, endl;
printf ("Hey there, sailor, what's your name? ");
for (x = 0; (scanf ("%c", &name[x])), name[x] != '\n'; x++);
endl = x;
printf ("There's no easy way to say this, ");
for (x = 0; x < endl; x++)
printf ("%c", name[x]);
printf (", but the test results came back.\nYou're HIV positive.");
return 0;
}