1.

WAP using LET statement to find the area of square​

Answer»

d Answer:-Question:WAP using LET statement to FIND out the AREA of a square. Solution:Here comes the solution. It is written in QBASIC.10 CLS20 INPUT "Enter Side Of The Square:";N30 LET A = N * N40 PRINT "Area Of The Square Is:"50 PRINT A60 ENDAlgorithm:STARTAccept the side of the square from the user. Calculate area of the square and store the area in A variable. Display the area of the square. STOP. See the attachment for OUTPUT ☑.



Discussion

No Comment Found