题目描述
输入一个数字n,表示身高,程序会输出一句英文,"My height is ncm.”,其中n代指输入的数字。
例如:输入180,输出是“My height is 180cm.”
输入格式
输入一个数 n
输出格式
输出"My height is (n)cm."
输入样例
175
输出样例
My height is 175cm.
数据范围
对于100%的数据,0<n≤50000。
解题思路
—————————————————————————————————————————————
Code
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long n;
scanf("%lld",&n);
printf("My height is %lldcm.",n);
return 0;
}