intro3.cpp
来自「hello everybody. good lucky to you」· C++ 代码 · 共 16 行
CPP
16 行
//INTRO3.CPP--Example from Chapter 3, "An Introduction to C++"
#include <iostream.h>
int main()
{
int pounds;
int total, bags;
pounds = 50;
bags = 1000;
total = bags * pounds;
cout << "There are " << total << "lbs. in 1000 bags of beans\n";
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?