Time Variance Authority
Time Variance Authority
Converter
TIME VARIANCE AUTHORITY
VAN EMREY ALCANTARA
GILL ROBERT ROMEN
CHRISTINE MIA PAZ
Documentation
• Definition/Background of the system:
The temperature converter system is a computer program designed to convert
temperatures between Fahrenheit and Celsius scales. It allows users to input a
temperature value in either Fahrenheit or Celsius and provides the corresponding
conversion in the other unit of measurement. The system utilizes mathematical
formulas to perform the temperature conversions accurately.
Documentation
• Significance of the system:
The temperature converter system holds significant importance as it provides a
convenient and efficient way to convert temperatures between Fahrenheit and
Celsius scales. It eliminates the need for manual calculations and reduces the
chances of errors that may occur during conversions. The system is particularly
useful in various fields such as meteorology, scientific research, engineering, and
everyday life, where temperature conversions are frequently required.
Documentation
By simplifying the process of temperature conversion, the system saves time and
effort for users. It promotes accuracy and consistency in temperature
measurements, ensuring reliable data interpretation. The significance of the
system lies in its ability to enhance productivity, improve data analysis, and
facilitate seamless communication across different temperature scales.
Flowchart
Code:
import java.util.Scanner;
System.out.println("Temperature Converter");
System.out.println("1. Celsius to Fahrenheit");
System.out.println("2. Fahrenheit to Celsius");
System.out.print("Conversion type (1 or 2): ");
case 2:
System.out.print("Enter temperature in Fahrenheit: ");
double fahrenheitInput = scanner.nextDouble();
double celsiusOutput = fahrenheitToCelsius(fahrenheitInput);
System.out.println("Result: " + celsiusOutput + " Celsius");
break;
Code:
default:
System.out.println("Invalid choice. Please choose 1 or 2.");
}
scanner.close();
}