Write a qbasic program to enter value in Inches and convert it to Centimeter. (1 inch = 2.54 cm). Use INPUT, REM and cls in your program. Display centimeter and inches.
Answers
Answered by
1
Answer:
Program to convert Centimeter to Feet and Inches
In this article, we will learn how to convert Height, given in centimeter to Height in feet and inches.
Examples:
Input : centimeter = 10
Output : inches = 3.94
feet = 0.33
Input : centimeter = 85
Output : inches = 33.46
feet = 2.79
Similar questions
Computer Science,
8 days ago
Math,
8 days ago
Computer Science,
8 days ago
Geography,
16 days ago
English,
16 days ago
Social Sciences,
9 months ago
English,
9 months ago
English,
9 months ago