Write a QBASIC program to enter distance in kilometre and convert into meter and miles
Answers
Answered by
3
Answer:
Here it is:
Explanation:
REM PROGRAM TO CONVERT KILOMETER TO MILES
CLS
INPUT”ENTER DISTANCE IN KILOMETER”; K
M = K * 1.62
met=1000*K
PRINT “DISTANCE IN MILES=”; M
PRINT “DISTANCE IN METERS=”;met
END
Similar questions
English,
3 months ago
Social Sciences,
3 months ago
Math,
3 months ago
Math,
6 months ago
Math,
10 months ago
Social Sciences,
10 months ago