⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listing5.1.java

📁 java 完全探索的随书源码
💻 JAVA
字号:
short width;
long length, area;
double totalCost, costPerFoot;

// In the multiplication below, width will be converted to a
// long, and the result of the calculation will be a long.
area = length * width;

// In the division below, area will be converted to a double,
// and the result of the calculation will be a double.
costPerFoot = totalCost / area;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -