0

Write a program that enters the name of the number(in letters), and the output is the same number but in integer.

20th Sep 2016, 4:30 AM
vincent panaligan
vincent panaligan - avatar
8 Answers
+ 2
I just wrote this program in my exam like an hour ago use switch case
20th Sep 2016, 5:18 AM
Vivek Anand
+ 2
maybe you could also use the contains() and replace() methods in an if else statement
20th Sep 2016, 5:22 AM
Vivek Anand
+ 1
u can use switch case for this
20th Sep 2016, 4:56 AM
Swapnil Bankar
Swapnil Bankar - avatar
+ 1
okay
20th Sep 2016, 6:13 AM
Swapnil Bankar
Swapnil Bankar - avatar
0
can you show me how it is done? thanks
20th Sep 2016, 6:01 AM
vincent panaligan
vincent panaligan - avatar
0
we can use switch case to print from zero to nine number.
20th Sep 2016, 6:09 AM
Swapnil Bankar
Swapnil Bankar - avatar
0
is it okay or u want this for two digits or more numbers???
20th Sep 2016, 6:09 AM
Swapnil Bankar
Swapnil Bankar - avatar
0
can you give me a written program example of this. thanks
20th Sep 2016, 6:12 AM
vincent panaligan
vincent panaligan - avatar