Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Lab - 7 Arrays
1. Write a program to find maximum element from 1-D array.
2. Write a program to find number of odd and even elements from 1-D array.
3. Write a program to sort a given array in ascending order using bubble sort.
4. Write a program to delete an element from 1-D array.
5. Write a program to insert an element in 1-D array at specified place.
6. Write a program to remove duplicate elements from a given 1-D array
Lab - 8 : 2D Arrays
1. Write a program to print transpose of a matrix.
2. Write a program to count number of positive, negative and zero elements from 3x3 matrix.
3. Write a program to check whether a matrix is upper triangular matrix or not.
4. Write a program to print Pascal’s triangle using 2-D array.
5. Write a program to scan two matrices A and B and find A*B and |A+B|.
6. Write a program to check whether a matrix is symmetrical matrix or not.
Lab - 9 : Strings
1. Write a program to count number of words in a string.
2. Write a program replace a particular character in a string.
3. Write a program to toggle the characters in a given string.
4. Write a program to check whether a string is palindrome or not.
5. Write a program to append a string.