📄 convert.cpp
字号:
// convert.cpp -- converts stone to pounds#include <iostream>int stonetolb(int); // function prototypeint main(){ using namespace std; int stone; cout << "Enter the weight in stone: "; cin >> stone; int pounds = stonetolb(stone); cout << stone << " stone = "; cout << pounds << " pounds." << endl; return 0;}int stonetolb(int sts){ return 14 * sts;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -