0
Please how do you do nested if statements
c programming
3 Answers
+ 1
if (true)
{
if (true)
{
//do something
}
}
+ 1
int age = 18;
if(age > 12){
printf("Hey there kid\n")
if(age >= 18)
printf("Sorry you're not a kid");
}
//just an useless example.
//useless but works
0
thank you