Accept side of a square. Calculate and print perimeter and area of a square.(Hint-P=4 x side, A=side x side)IN QBASIC How to do
Answers
Answered by
2
Answer:
for perimeter : CLS
INPUT “ENTER LENGTH”; L
P = 4 * L
PRINT “PERIMETER OF SQUARE ”; P
END
for area: CLS
INPUT “ENTER LENGTH”; L
A = L * L
PRINT “AREA OF SQUARE ”; A
END
Explanation:
please mark me as brainliest
Answered by
0
please give me some time I really give your answer.
Similar questions