+ 2
Challenge : Love or Hate
input two random integers seperated with spaces (2 8) when we sum those to integers and ger the love number 6, print Love. else print Hate p.s. we can use (10 -4) and get Love. good luck this is an easy challenge if you want i can give harder
4 Respuestas
+ 3
So basicly we need to do:
if(a+b == 6) cout<<"love";
else cout<<"hate";
Yeah I guess harder challange would be better.
+ 6
@jakub i also agree for a harder challenge
+ 3
ok, you want a harder challenge, ill give ypu a harder challenge
+ 3
System.out.print(new String((a+b) == 6 ? "Love" : "Hate"));
I'm sorry but this is too trivial