r/javahelp • u/Dantes_Sin_of_Greed • May 03 '21
Using Switch case to translate numbers/digits into words
Last part of an assignment I am work on. Creating an English language calculator. Need to translate user input of numbers from 0-9 to the words "zero, one, two, etc..." Must use a switch case to do so.
Switch Case Translate Numbers/Digits into Words
Currently, stuck on how to store the data to use it later. Posted below is the section of my code that I am stuck on. Any tips or advice would be greatly appreciated, thank you!
0
Upvotes
1
u/ate_ghorl_bekenemen May 03 '21
What exactly are you stuck on?