0

What's missing in my popsicles code?

What's missing in my popsicles code #include <iostream> using namespace std; int main() { int siblings, popsicles; //take input cin>>siblings>>popsicles; //your code goes here if (siblings%5==0) { cout<<"give away"<<endl; } else{ cout<<"eat them yourself"<<endl; } return 0; } Just one more test case before i can pass help me please

28th Mar 2021, 12:10 AM
Firmansyah
Firmansyah - avatar
3 Réponses
+ 5
You're missing siblings variable in your solution. popsicles%siblings ==0
28th Mar 2021, 12:35 AM
Simba
Simba - avatar
+ 1
Thank you its work
28th Mar 2021, 12:43 AM
Firmansyah
Firmansyah - avatar
0
Ok i will try
28th Mar 2021, 12:37 AM
Firmansyah
Firmansyah - avatar