how to use if(variable=1) in c code example
Example 1: if statement in c
#include <studio.h>
int main()
{
if (logic goes here)
{
CODE
}
else if (logic)
{
CODE
}
else{
CODE
}
return 0
}
Example 2: and statement c
if(thing > a && thong == 1){
continue...
}