197k views
3 votes
SOMEONE PLEASE HELP ME DUE IS IN 30 MINUTES!!!⚠️⚠️⚠️⚠️

~WAP to accept a number and display the square of the number using SUB END SUB​

1 Answer

1 vote

Answer:

Display square root of an input number

REM PROGRAM TO DISPLAY SQUARE ROOT OF AN INPUT NUMBER. INPUT “ENTER ANY NUMBER”; N. S = N ^ (1 / 2) ...

DECLARE SUB SQROOT (N) INPUT “ENTER ANY NUMBER”; N. ...

SUB SQROOT (N) S = N ^ (1 / 2) ...

DECLARE FUNCTION SQROOT (N) INPUT “ENTER ANY NUMBER”; N. ...

FUNCTION SQROOT (N) SQ= N ^ (1 / 2)

Step-by-step explanation:

hope this helps u

User Titusmagnus
by
8.0k points

Related questions

1 answer
4 votes
129k views
asked Apr 22, 2021 88.2k views
GeneralBear asked Apr 22, 2021
by GeneralBear
8.0k points
2 answers
0 votes
88.2k views