can you guys help me to see if there is something wrong with my do-while loop..?><
i was trying to do a continues loop but when i try to enter a y, it got error or something and it wont continue...
help..TTATT
#include<stdio.h>
void main()
{
char y, respond;
int a;
Do you want the variable "a" to be set to 0 each time the loop is executed? the first two lines of the loop will set "a" equal to zero and then increment it by one so you will have "a" equal to 1 practically the entire time. I don't think that's what you want. You probably want the line