Computer Science, asked by shalini2306, 8 months ago

write a short program that asks for your height in centimeters and then converts your height into inches. (1 inch = 2.4 cm) please answer this question with steps and fast.

Answers

Answered by abhinavmgeorge
0

1cm = 0.393701 inches

in python :::

def convert() :

height_in_cm = int(input('please enter your

height in cm'))

inch = height_in_cm * 0.393701

print(inch)

convert()

Similar questions