?? intro1.cpp
字號:
//INTRO1.CPP--Example from Chapter 3, "An Introduction to C++"
#include <iostream.h>
int main()
{
int bushels;
float dollars, rate;
cout << "How many dollars did you get? $";
cin >> dollars;
cout << "For how many bushels? ";
cin >> bushels;
rate = dollars / bushels;
cout.precision(2);
cout << "You have received $" << rate << " for each bushel.\n";
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -