#include<cstdlib>
#include<iostream>
int main()
{
int v1 = 2, v2 = 3;
std::cout << "the num1:" << v1 << std::endl;
std::cout << "the num2:" << v2 << std::endl;
std::cout << "the add:" << v1 + v2 << std::endl;
std::cout << "the mult:" << v1*v2 << std::endl;
system("pause");
return 0;
}
C++ primer 练习1.5
最新推荐文章于 2022-02-05 23:57:29 发布