nevermind
Last edited on
i made number of quesions equal to 4 and in the loop i asked 4 questions + took 4 answers but the loop doesnt stop
Last edited on
Can you show us the code?
int numofquestions=4; ans1; ans2 ; ans3; ans4;
You need to separate your variables with a comma, the semi colon only at the end.
int numofquestions=4, ans1, ans2 , ans3, ans4;