#C01L02P04. C01.L02.整型变量、赋值语句、cin 语句.例题3.输出n的值
C01.L02.整型变量、赋值语句、cin 语句.例题3.输出n的值
题目描述
定义个整型变量 n 并赋值为 5 ,输出变量 n 的值。
输入格式
无
输出格式
n 的值
样例
5
完成程序
#include<iostream>
using namespace std;
int main()
{
int n;
填空(1) = 填空(2);
cout<<填空(3);
return 0;
}
填空(1):{{ input(1) }}
填空(2):{{ input(2) }}
填空(3):{{ input(3) }}
相关
在以下作业中: