- #1
anonim
- 40
- 2
- Homework Statement
- Making crossword
- Relevant Equations
- -
Hello!
My homework is making a crossword.
I write a code like this:
But this is not work. Count2 increase when the word is found. I asked the user write command like this-> E7 hello, and I check the word. If the user write Exit, I want to exit the program.
My homework is making a crossword.
I write a code like this:
C:
do{
//code
printf("Please enter the coordinate and the word: \n");
scanf(" %c%d %s",&row2,&column2,word2);
if(row2=='E' && word2=="xit") exit(0);
//code
}while(count2!=10);
But this is not work. Count2 increase when the word is found. I asked the user write command like this-> E7 hello, and I check the word. If the user write Exit, I want to exit the program.
Last edited by a moderator: