New course! Every coder should learn Generative AI!
Try a free lesson0
How do i make a "if" command with multi Results? (1 if, 2 results) 😮
2 Answers
+ 3
a =1;
b =2;
if (a == 1 || a < b)
puts "a is smaller";
end
+ 1
int a=1,b=1;
if(i==1)
{
cout << a-b;
cout << a+b;
}
//multi result