I did try your code vintho...and i do some edit on it for it to work like what the question want...btw im using DoSBox to do my assignment...
Any way i still have 3 more question to complete...
There is an array of String type named arrFruits with the following values: pear, banana, apple, cherry, watermelon, papaya. Sort the contents using an appropriate sort routine and display the sorted data from the same array.
Using two arrays, named arr_A and arr_B respectively, write a function named concantenate that join the values from arr_A to the values from arr_B according to their sequence and stores the concatenated values in arr_C. Display the contents of arr_A, arr_B and arr_C. The three arrays are declared as integer type.
Randomly enters 10 alphabets into arr_A. Then allow the user to enter a value into a variable. The value of the variable is then compared with the values in arr_A. If there is a match, the program will display the subscript of the cell containing the target value. If more than one of the cells contains the target value, then the function should return all the subscripts that has the identical values with the variable.