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