Question d’entretien chez ABC

write a program for converting string to number