Write a program to input height in cms and then convert into feet and inches.
(1 foot= 12 inches, 1 inch = 2.54 Cm)
brainliest marking for first relevant and correct answer
Answers
Answered by
0
Answer:
Java or Python or c++ don't forget to mention that next time
Answered by
0
h = int(input('Enter your height in centimetres : '))
h = h/2.54
print('Height is', h//12, 'feets and', h%12, 'inches')
Similar questions