Skip to content

Commit

Permalink
Show the app options.
Browse files Browse the repository at this point in the history
  • Loading branch information
kentlouisetonino committed Mar 27, 2024
1 parent 223fcb6 commit 96ad13b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/displays/app_options.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package displays

import "fmt"

func AppOptions() {
fmt.Println(Tab, " ", "[1]", "Celsius (°C)")
fmt.Println(Tab, " ", "[2]", "Fahrenheit (°F)")
fmt.Println(Tab, " ", "[3]", "Kelvin (°K)")
fmt.Println(Tab, " ", "[4]", "Rankine (°R)")
}
4 changes: 4 additions & 0 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ func main() {
// Display the application description.
displays.AppDescription()
displays.AddNewline()

// Display the options.
displays.AppOptions()
displays.AddNewline()
}

0 comments on commit 96ad13b

Please sign in to comment.