#include<cstdlib>
#include<iostream>
int main()
{
int v1 = 2, v2 = 3;
std::cout <<"the add:" << v1+v2 <<std::endl<<"the mult:" <<v1*v2<< std::endl;
system("pause");
return 0;
}
C++ Primer 练习1.4
最新推荐文章于 2024-11-19 18:50:19 发布
#include<cstdlib>
#include<iostream>
int main()
{
int v1 = 2, v2 = 3;
std::cout <<"the add:" << v1+v2 <<std::endl<<"the mult:" <<v1*v2<< std::endl;
system("pause");
return 0;
}