So I created a program that ask the user's height in integer and display it in foot inches. but when I convert 'inches' (the variable that holds the height in inches integer) the variable wont convert into double
The result of the cast is double. On line 12 you don't use the result hence nothing will happen. In order to use the result you need to use it on line 13: