Ok what in looking to do is for the user to imput any givin number of chars, then in turn convert those chars in to ints.
Actually not just any ints its sequenced into multiples of six like eg. (A=6, B=12, C=18,... Z=156)
im thinking type casting might be the way to go but there are other factors
I also want to, once the letters are recieved and converted, the sum of all the imputed/converted values must be calculated.
Now..im thinkin like going
char FirstLetterEntered, SecondLetterEntered,Third ......ect
//get the imput
Then mabey...
if ( FirstLetterEntered == "A"||"a")
FirstLetterEntered = 6; //would have to cast here??
But i would have to do it for every one and then again for the second and so on , I know there is a better way i just need some structuring advice



LinkBack URL
About LinkBacks



.