#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int a, b, c;
a= 6;
b= 7;
c= a*b;
printf("\n %d X %d --> %d \n", a, b, c);
system("PAUSE");
return EXIT_SUCCESS;
}
C++ 的主程式
最新推荐文章于 2025-09-06 22:07:28 发布
本文提供了一个简单的C++程序,演示如何使用`#include <cstdlib>`和`#include <iostream>`来计算两个整数的乘积,并通过`system(PAUSE)`实现程序暂停。
813

被折叠的 条评论
为什么被折叠?



