Logo

तल दिइएको प्रोग्राममा रहेका गल्तीहरूलाई सच्याएर पुनर्लेखन गर्नुहोस् : Re-Write the given program after correcting the bugs: DECLARE SUB Square (A)…

SEE Class 10 Computer Science · 2080 · Solved Question with Answer

तल दिइएको प्रोग्राममा रहेका गल्तीहरूलाई सच्याएर पुनर्लेखन गर्नुहोस् : 
Re-Write the given program after correcting the bugs:

DECLARE SUB Square (A)
REM to print square of a input number
CLS
GET "Enter a number"; N
Square (N)
END

SUB Square (A)
  Sq = A ^ 4
  Display "Square of a number is "; Sq
End Sub

Solution

Please login to view the answer.