Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

🌡️ Temperature Converter - Java Project

📌 Project Description

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.


🚀 Features

  • User-friendly menu
  • Multiple temperature conversions
  • Simple and clean code
  • Beginner-friendly Java project
  • Input from user using Scanner

🧠 Temperature Conversion Formulas

  • 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


💻 Technologies Used

  • Java
  • Scanner Class
  • Switch Case
  • Console Application

📂 Project Structure

04-temperature-converter
    ├── README.md
    └── src
        └── TemperatureConverter.java

📸 Sample Output

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

🎯 Learning Objective

  • Understand Java basics
  • Learn Scanner input
  • Practice switch-case
  • Learn temperature conversion logic

⭐ Future Improvement

  • Add GUI (Swing / JavaFX)
  • Add more units (Rankine, Reaumur)
  • Add input validation
  • Add loop for multiple conversions

📜 License

This project is for educational purpose.