Hello I am teaching myself C from a C for dummies book and its this program they gave us to write out. I copied correctly from the book but I am still getting errors I also double checked and nothing can someone check it out for me and tell me what I am missing.
#include <stdio.h>
int main()
{
char adjective[20];
char food[20];
char chore[20];
char furniture[20];
/* Get the words to use in the madlib */
printf("Enter and adjective:"); /*prompt*/
scanf("%s",&adjective); /*input*/
printf("Enter a food:");
scanf("%s",&food);
printf("Enter a household chore(past tense);");
scanf("%s",&chore);
printf("Enter an item of furniture:");
scanf("%s",&furniture);
/*Display the output*/
printf("\n\nDon't touch that %s %s!\n",adjective,food);
printf("I just %s the %s!\n",chore,funiture);
return(0);
}
thanks in advanced



