WRITE A QBASIC PROGRAM TO SORT NUMBER IN DESCENDING ORDER

DESCENDING OF 10 INPUT NUMBERS How to arrange numbers in descending order in Qbasic Here in this post, we will write a program to sort a list of 10 numbers in descending order. Solution CLS DIM N(10) FOR I = 1 TO 10 INPUT "ENTER THE NUMBERS&q…

WRITE A QBASIC PROGRAM TO SORT NUMBER IN ASCENDING ORDER

ASCENDING AND DESCENDING OF 10 INPUT NUMBERS How to arrange numbers in ascending order in Qbasic Here in this post, we will write a program to sort a list of 10 numbers in ascending order. Solution CLS DIM N(10) FOR I = 1 TO 10 INPUT "ENTER THE …

WRITE A QBASIC PROGRAM DISPLAY VOLUME OF CYLINDER

QBASIC PROGRAM DISPLAY VOLUME OF CYLINDER Solution Display the volume of a cylinder. REM PROGRAM TO DISPLAY VOLUME OF CYLINDER. CLS INPUT “ENTER RADIUS ”; R INPUT “ENTER HEIGHT”; H V = 3.14 * R ^ 2 * H PRINT “VOLUME OF CYLINDER ”; V END DISPLAY …

WRITE A QBASIC PROGRAM DISPLAY SURFACE AREA OF CYLINDER

A QBASIC PROGRAM DISPLAY SURFACE AREA OF CYLINDER Solution Display the total surface area of the cylinder. REM PROGRAM TO DISPLAY TOTAL SURFACE AREA OF CYLINDER CLS INPUT “ENTER RADIUS ”; R INPUT “ENTER HEIGHT”; H A= 2 * 3.14 * R * (R + H) PRINT “TOT…

WRITE A QBASIC PROGRAM DISPLAY TOTAL VOLUME OF HEMISPHERE.

QBASIC PROGRAM FIND TOTAL VOLUME OF HEMISPHERE Solution: Display the volume of the hemisphere. REM PROGRAM TO DISPLAY VOLUME OF HEMISPHERE. CLS INPUT “ENTER RADIUS ”; R V = (2 / 3) * 3.14 * R ^ 3 PRINT “VOLUME OF HEMISPHERE ”; V END DISPL…

Load More
That is All