program to seperate positive and negative numbers from given array and merge them into different arrays CLS REM A program to seperate positive and negative numbers from given array and merge them into different arrays INPUT "Enter number for array elements:->", n DIM a1(n) DIM a2(n) DIM a3(n) FOR i = 1 TO n STEP 1 PRINT PRINT "element no ... Read More »

## Tag Archives: students qbasic programs free download

Feed Subscription## program to find out the minimum number from given array

program to find out the minimum number from given array CLS REM A program to find out the minimum number from given array INPUT "Enter number for array elements:->"; n flag = 0 p = 1 FOR i = 1 TO n STEP 1 PRINT "Enter element no array("; i; ")"; INPUT ":->", array(i) PRINT NEXT i mini = array(1) ... Read More »

## program to find out the maximum from given array

program to find out the maximum from given array CLS REM A program to find out the maximum from given array CLS INPUT "Enter number for array elememts:->"; n flag = 0 p = 1 FOR i = 1 TO n STEP 1 PRINT "Enter elements no a("; i; ")"; INPUT ":->", a(i) PRINT NEXT i mini = a(1) max ... Read More »

## program to merge two arrays and sort in ascending order

program to merge two arrays and sort in ascending order CLS REM a program to merge two arrays and sort in ascending order INPUT "Enter number of elements of the first array:->", n1 PRINT INPUT "Enter number of elements of the second array:->", n2 PRINT DIM a1(n1), a2(n2), a3(n1 + n2) PRINT PRINT "Input first array:->" PRINT FOR i = ... Read More »