P5712 【深基3.例4】Apples

P5712 【深基3.例4】Apples

在这里插入图片描述

#include<iostream>
using namespace std;

int main(void)
{
    
    
    int x;
    cin>>x;
    cout<<"Today, I ate "<<x<<" apple";
    if(x != 0 && x != 1)
    {
    
    
        cout<<"s";
    }
    cout<<"."<<endl;
    system("PAUSE");
    return 0;
}

猜你喜欢

转载自blog.csdn.net/qq_44653420/article/details/121501593