I'm coding a program and I thought while() function could help me but it's not as I thought, and a normal GOTO function of the old Commodore 64 made me think that is the solution. I just need to do this:
// float condition
10 printf("type a number: ");
20 scanf("%f", &condition);
30 if (condition == 1) { printf("ok! \n"); }
// goto 10 here
discard that in this case I could use while() function anyway but as I said in my case while() function will not work. How can I do the Basic goto function in C?