0
How do I have a user input a phone number and convert it from a string? ?
3 Answers
+ 7
in c# :
int phoneNumber = int.Parse(Console.ReadLine());
+ 3
var phoneNumber=parseInt(prompt("enter your phone number"));
#javaScript
+ 1
thank you this was driving me crazy.