#include <iostream>
using namespace std;
int main()
{
long a,b,c;
c=0;
while(cin>>a>>b>>c)
{
if(a>=10 && c>=2)
{
b=b+1;
cout<<a<<" 個餅乾"<<","<<b<<" 盒巧克力"<<","<<c<<" 個蛋糕"<<"。"<<endl;
}
if(a<10 && c<2)
cout<<a<<" 個餅乾"<<","<<b<<" 盒巧克力"<<","<<c<<" 個蛋糕"<<"。"<<endl;
}
}
return 0;
}
#include
using namespace std;
int main()
{
long a,b,c;
c=0;
while(cin>>a>>b>>c)
{
if(a>=10 && c>=2)
{
b=b+1;
cout<<a<<" 個餅乾"<<","<<b<<" 盒巧克力"<<","<<c<<" 個蛋糕"<<"。"<<endl;
}
if(a
cout<<a<<" 個餅乾"<<","<<b<<" 盒巧克力"<<","<<c<<" 個蛋糕"<<"。"<<endl;
}
}
return 0;
}
為什麼送出後是CE?