You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 month ago | |
|---|---|---|
| w2 | 1 month ago | |
| 程序运行截图 | 1 month ago | |
| README.md | 1 month ago | |
| TemperatureConventer | 1 month ago | |
| ai协助记录 | 1 month ago | |
README.md
温度转换器(Java版)
将Python版温度转换器完整移植为Java,并扩展命令行参数和批量文件转换功能。
功能说明
- 支持摄氏度(C) ↔ 华氏度(F) 互转
- 三种使用模式:
- 交互式输入(无参数)
- 命令行单条转换(传数值+单位)
- 批量文件转换(传-f+文件路径)
环境要求
- JDK 8 及以上版本
编译与运行命令
1. 编译源码
javac TemperatureConverter.java