c++(002)学习输入cin

学习了输入cin的使用

 

 1 #include <iostream>
 2 #include <cstdlib>
 3 
 4 using namespace std;
 5 
 6 int main(){
 7     int a;
 8     cin>>a;
 9     cout<<a<<endl; 
10     return 0;
11 }

 

posted @ 2018-02-12 21:25  何婉莹NOIP之路  阅读(136)  评论(0编辑  收藏  举报