write a program in QBASIC format to accept the length of a rod in millimeters and express the same in centimeters and meters.
Answers
Answered by
4
CLS
PRINT"PLEASE INPUT THE LENGHT OF ROD IN MILLIMETERS"
INPUT A
PRINT"THE LENGHT OF THE ROD IN CENTIMETRES IS";A*10
PRINT"THE LENGHT OF THE ROD IN METRES IS";A*1000
END
Similar questions