0

How can I input phone numbers and the out put should be letters using switch

17th Jun 2020, 9:47 AM
Balike Anna
Balike Anna - avatar
2 Answers
+ 2
Put it as a string switch("num"): case("123456"): print("do some thing")
17th Jun 2020, 10:01 AM
Muhammad Galhoum
Muhammad Galhoum - avatar
0
Thanks for replying.i want the user to input he or her phone numbers using Scanner and the output should be letters
17th Jun 2020, 10:07 AM
Balike Anna
Balike Anna - avatar