Wednesday, October 16, 2019

8. QBASIC Program to find cube root of a given number


8.      Write a program in QBASIC to find cube root of a given number using FUNCTION…..END FUNCTION.

DECLARE FUNCTION CBROOT (N)
CLS
INPUT “ENTER ANY NUMBER”; N
PRINT “CUBE ROOT OF NUMBER “; CBROOT (N)
END

FUNCTION CBROOT (N)
CBROOT = N ^ (1 / 3)
END FUNCTION

1 comment:

  1. Qbasic Programming Solutions And Slc / See Computer Science Questions Solved : 8. Qbasic Program To Find Cube Root Of A Given Number >>>>> Download Now

    >>>>> Download Full

    Qbasic Programming Solutions And Slc / See Computer Science Questions Solved : 8. Qbasic Program To Find Cube Root Of A Given Number >>>>> Download LINK

    >>>>> Download Now

    Qbasic Programming Solutions And Slc / See Computer Science Questions Solved : 8. Qbasic Program To Find Cube Root Of A Given Number >>>>> Download Full

    >>>>> Download LINK UU

    ReplyDelete