Hi all,
I am new to Julia and would appreciate some help. I am trying to make a calculator on Julia for body mass index. Essentially, this calculator will ask the user to choose Metric or Imperial in the beginning of the program. So far, I have:
print("Type Metric or Imperial: ")
How would I format this string to a character?
Thank you!
Hi, my apologiesā¦I meant to say that the string would have invisible characters to the viewer (I assume that there are hidden characters which gets recognized by the computer, even though it looks complete to us).
Consider using a built-in RadioMenu:
using REPL.TerminalMenus
menu = RadioMenu(["Metric", "Imperial"])
request("Pick unit system:", menu)

4 Likes