c++基本编程之两个数的和

来源:互联网 发布:数据库语言获取日期 编辑:程序博客网 时间:2024/06/05 21:29
<span style="font-size:18px;color:#3333ff;">#include <iostream>using namespace std;int main(){cout<<"Enter two number:"<<endl;int v1,v2;cin>>v1>>v2;cout<<"The sum of"<<v1<<"and"<<v2<<"is"<<v1+v2<<endl;return 0;}</span>

0 0
原创粉丝点击