Write a QBasic program to find the area and perimeter of a
rectangle.
Answers
Answered by
3
Explanation:
Display area of rectangle.
REM PROGRAM TO DISPLAY AREA OF RECTANGLE
CLS
INPUT “ENTER LENGTH”; L
INPUT “ENTER BREADTH”; B
A = L * B
PRINT “AREA OF RECTANGLE ”; A
END
Similar questions