+ 2
How can i solve popsicles in c++
3 odpowiedzi
+ 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"
+ 1
It is easy to solve in C++. Try it first