I recently started learning java during my spare time. So to practice, I\'m making a program that takes a temperature (Celsius or Fahrenheit) and converts it to the opposite
.nextInt() does not read the end of line character "\n".
.nextInt()
"\n"
You need to put a keyboard.nextLine() after the .nextInt() and then it will work.
keyboard.nextLine()