+ 2

How can i solve popsicles in c++

24th Mar 2020, 5:44 AM
Rohith
Rohith - avatar
2 ответов
+ 1
if (popsicles % siblings == 0) { cout << "give away"; } else { cout << "eat them yourself"; } You have to check if popsicles % siblings is 0 and print "give away", otherwise print "eat them yourself"
29th Apr 2020, 1:39 AM
Epsilon ︻╦̵̵͇̿̿̿̿╤──
Epsilon ︻╦̵̵͇̿̿̿̿╤── - avatar
+ 1
It is easy to solve in C++. Try it first
24th Mar 2020, 6:28 AM
Taranjeet
Taranjeet - avatar