0

Please can someone help on how to convert phonenumber(word) in to figures

26th Jan 2020, 4:10 AM
Balike Anna
Balike Anna - avatar
13 Respuestas
+ 3
This is just an example. Kindly use this to complete your task. https://code.sololearn.com/cZOazdzXy881/?ref=app
26th Jan 2020, 4:45 AM
Avinesh
Avinesh - avatar
+ 3
Try using 'enumeration' ( enum).
27th Jan 2020, 9:04 AM
Ajith
Ajith - avatar
+ 1
Thanks so much🙏🙏
26th Jan 2020, 4:48 AM
Balike Anna
Balike Anna - avatar
+ 1
You can use a case-switch and interpret the input. Such as, if input is "eight", you will print 8
26th Jan 2020, 10:45 AM
Ahnaf
Ahnaf - avatar
0
Beginner
26th Jan 2020, 4:11 AM
Balike Anna
Balike Anna - avatar
0
Do you want to convert string to numeric data type?
26th Jan 2020, 4:21 AM
Avinesh
Avinesh - avatar
0
Yes
26th Jan 2020, 4:23 AM
Balike Anna
Balike Anna - avatar
0
String[] phonenumber={"one","three" ,five,"nine","two"},
26th Jan 2020, 4:27 AM
Balike Anna
Balike Anna - avatar
0
What is your question and how do you want your output to look like?
26th Jan 2020, 4:31 AM
Avinesh
Avinesh - avatar
0
Please can someone help on how to convert phonenumber(word) in to figures Output O710555283
26th Jan 2020, 4:33 AM
Balike Anna
Balike Anna - avatar
0
What is the input word like? Do you want to store it in an array like you showed above?
26th Jan 2020, 4:35 AM
Avinesh
Avinesh - avatar
0
Yes
26th Jan 2020, 4:35 AM
Balike Anna
Balike Anna - avatar
0
It show allow any end user to input their own ten digits numbers
26th Jan 2020, 4:41 AM
Balike Anna
Balike Anna - avatar