This is a simple Java Temperature Converter application that converts temperature between different units:
- Celsius to Fahrenheit
- Fahrenheit to Celsius
- Celsius to Kelvin
- Kelvin to Celsius
This project is created using Java and runs in the console/terminal.
- User-friendly menu
- Multiple temperature conversions
- Simple and clean code
- Beginner-friendly Java project
- Input from user using Scanner
-
Celsius → Fahrenheit
F = (C × 9/5) + 32 -
Fahrenheit → Celsius
C = (F − 32) × 5/9 -
Celsius → Kelvin
K = C + 273.15 -
Kelvin → Celsius
C = K − 273.15
- Java
- Scanner Class
- Switch Case
- Console Application
04-temperature-converter
├── README.md
└── src
└── TemperatureConverter.java
Temperature Converter
1. Celsius to Fahrenheit
2. Fahrenheit to Celsius
3. Celsius to Kelvin
4. Kelvin to Celsius
Choose option: 1
Enter Temperature: 25
Fahrenheit = 77.0
- Understand Java basics
- Learn Scanner input
- Practice switch-case
- Learn temperature conversion logic
- Add GUI (Swing / JavaFX)
- Add more units (Rankine, Reaumur)
- Add input validation
- Add loop for multiple conversions
This project is for educational purpose.