0
How can I write I=0 and I=3 and j=0 and j= 3 in if conditions with proper pattern ???
c++
2 Réponses
+ 1
I'm not sure what you mean exactly, but hopefully one of these will help you out:
if (l == 0)
{
//code
}
if (l == 3)
{
//code
}
if (j == 0)
{
//code
}
if (j == 3)
{
//code
}
if (l == 0)
{
//code
}
else if (l == 3)
{
//code
}
else if (j == 0)
{
//code
}
else if (j == 3)
{
//code
}
0
Thanks :)