The list of array programs to be solved for revision.

  1. Declare,create, initialise and print the elements of an array.
  2. Find the maximum and minimum element of an integer array.
  3. Find the aum and average of an integer array
  4. Sort the elements of the array in ascending or descending order by using bubble sort or selection sort method.
  5. Search for an element in the array using linear or binary search technique.
  6. Take input from the user and make a pendulum array.
  7. Make a string array and reverse all t words of the array.
  8. Insert an element in the array at a particular position.
  9. Delete a particular element from an array.
  10. Merge two arrays.
  11. Make an array of integer and reverse all the elements of the array.
  12. Accept a string array and print each word with its lemgth and potential (sum of ascii values of each letter of the word)
  13. Accept a string array and find the longest and shortest word with its length. DOUBLE DIMENSIONAL ARRAY PROGRAM
  • create , initialise and print a DDA(Double dimensional array)
  • Print the sum of each rows in a DDA
  • Print the sum of each column in a DDA
  • Print the sum of left and right diagonal of a DDA
  • Print the maximum and minimum element of a DDA
  • Print the sum of boundry elements of a DDA
  • Print the sum of non boundry elements of a DDA

LEAVE A REPLY

Please enter your comment!
Please enter your name here