Go Mini Project Activity
Go Mini Project Activity
A
Project Report
On
“Project Title”
Temperature Converter Program in Go language
Developed by,
Roll/ Seat No:9645
Student Name:Chetan Vinayak Morankar
Roll/ Seat No:9681
Student Name:Pravin Dattatray Shinde
TYBCA(SCIENCE)
Under
Savitribai Phule Pune University
(2023-2024)
Index
1 Introduction
5 Output Screen
IntroductIon
A temperature converter helps in the conversion of
the measurement units of the temperature recorded
in a particular unit. Temperature expresses the
degree of heat or cold of a solid, liquid, or gas.
Temperature is measured using a thermometer.
Temperature conversions are crucial in many
scientific expeditions, Fahrenheit is a scale of
temperature and celsius is also a temperature scale,
but sometimes we need to convert fahrenheit to
celsius for medical settings, travels, and more. In this
article, we are going to explore conversion of
Fahrenheit temperature to corresponding Celsius in
Go programming language.
temperature
converter
Temperature Converter tool enables swift conversion
What is Celsius?
What is Fahrenheit?
What is Kelvin ?
Used Formula
measurement comparisons.
each scale.
import (
"fmt"
"math"
func main() {
// Create a menu
fmt.Println("3. Exit")
fmt.Scanln(&choice)
switch choice {
case 1:
// Celsius to Fahrenheit
fahrenheit := (celsius * 9 / 5) + 32
case 2:
// Fahrenheit to Celsius
fmt.Scanln(&fahrenheit)
case 3:
// Exit
fmt.Println("Goodbye!")
return
default:
// Invalid choice
output screen