if else example c
Example: if statement in c
#include
int main()
{
if (logic goes here)
{
CODE
}
else if (logic)
{
CODE
}
else{
CODE
}
return 0
}
#include
int main()
{
if (logic goes here)
{
CODE
}
else if (logic)
{
CODE
}
else{
CODE
}
return 0
}