0
Write a program that enters the name of the number(in letters), and the output is the same number but in integer.
8 Answers
+ 2
I just wrote this program in my exam like an hour ago
use switch case
+ 2
maybe you could also use the contains() and replace() methods in an if else statement
+ 1
u can use switch case for this
+ 1
okay
0
can you show me how it is done? thanks
0
we can use switch case to print from zero to nine number.
0
is it okay or u want this for two digits or more numbers???
0
can you give me a written program example of this. thanks