I tried using the "if" structure. It's a very beginner, and probably wrong program, but that's what I'm doing - I'm learning. Hope you can guide me through writing this.
Here what I wrote:
#include <stdio.h>
int main()
{
char word;
printf("Enter the word\n");
scanf("c", &word);
if (word==dic)
{
printf("DreamInCode\n");
}
return 0;
}
The GCC compiler reports some error, and while I'm typing this, I'm trying to fix them. The code above is where I started writing the program.

New Topic/Question
Reply




MultiQuote





|