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