vendredi 31 octobre 2014

Letters to numbers code


Vote count:

0




I have been given a task to do as part of my computing homework in vb.net form


Firstly, I had to take a persons first name and take their first and last letters of their first name, which I have already done and works perfectly fine.


However, the next step is where I have to covert the first and last letters to numbers when A = 1 and B = 2 and C = 3 etc to Z = 26 and then add these 2 numbers together to give a value between 2 and 52


How would I write this code?



asked 1 min ago







Letters to numbers code

Aucun commentaire:

Enregistrer un commentaire