Hay guys Could u correct that for me .?

#include
#include
int main()
{
int i;
char car;
char ph[100];
i=1;
do {
printf("Write a character :\n");
scanf("%c", &car);
if(car=='0')
car=' ';
ph[i] = car;
i+=1;
} while(car!='.');
printf("the finale result is : %s", ph);
system("pause");
return 0;
}