Computer Science, asked by mannaananya47, 2 months ago

in Qbasic write a program to take the side of a square from the users as input and find the area perimetar of a square​

Answers

Answered by purveshKolhe
6

The Following Program May Be Used::

CLS

INPUT "Enter the side of square: ", side

PRINT "Perimeter is: " + side * 4

PRINT "Area is: " + side * side

END

OUTPUT???

==> It will ask for the input where you have to enter the side.

==> It will calculate and print perimeter first and then Area.

Hope This Helps You..

Similar questions