0

How do i make a "if" command with multi Results? (1 if, 2 results) 😮

13th Jul 2017, 5:29 PM
Litzman H.
Litzman H. - avatar
2 odpowiedzi
+ 3
a =1; b =2; if (a == 1 || a < b) puts "a is smaller"; end
13th Jul 2017, 6:06 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 1
int a=1,b=1; if(i==1) { cout << a-b; cout << a+b; } //multi result
13th Jul 2017, 5:47 PM
‎ ‏‏‎Anonymous Guy