/*You must enter a four letter
word followed by the direction
and the spot you want to start on. Put spaces in between word direction and space.
EXAMPLE:
JAVA
H 2
This will insert JAVA going horizontally right from spot 2.
This will return 17
Please enter your word.
AAAA
Please enter direction (H or V).
H
Please enter spot (1 through 36).
1
OUTPUT: 0000*/
Why do i get 0000. I can't find a problem with the math. hopefully you can.