0

How do I have a user input a phone number and convert it from a string? ?

9th Dec 2017, 4:47 PM
Chery
3 odpowiedzi
+ 7
in c# : int phoneNumber = int.Parse(Console.ReadLine());
9th Dec 2017, 5:03 PM
Vukan
Vukan - avatar
+ 3
var phoneNumber=parseInt(prompt("enter your phone number")); #javaScript
9th Dec 2017, 4:54 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 1
thank you this was driving me crazy.
9th Dec 2017, 4:55 PM
Chery