初窥输入输出
2
/* 程序文件名: test.cpp
* 本程序功能:输入2个整数求和
* 设计者: *** */ 1 #include iostream
2 int main()
3{
4 std::cout“Entertwo numbers”std::endl;
5 int v1,v2;
6 std::cinv1v2;
7 std::cout“the sum of ”v1“and”
v2“is”v1+v2std::endl;
原创力文档

文档评论(0)