I'm learning c and have put my learning to the test, and failed. When I compile, It stops at the first printf. I thank you for looking and helping...
Code:
#include <stdio.h>
#main ()
class array
{
char color [8];
char feet [8];
char food [15];
int age;
printf ("/n What color is your hair?");
scanf ("%s", &color);
printf ("/n %s!, I think u should cut it!!!", color);
printf ("/n Do u have big or small feet?");
scanf ("%s", feet");
printf ("/n How old r u?");
scanf ("%d", age);
prinf ("/nTell me what your favorite kind of food is");
scanf ("%s", food);
printf ("/n I like %s too!", food);
printf ("/n So far I have found out that your hair color is %s, your feet r %s, and u are %d years old and u love to eat %s.", color, feet, age, food);
return (0)
}