CSE Assignment Done
CSE Assignment Done
Test Data :
Expected Output :
Total number of duplicate elements found in the array is : 1
Sol n
QUESTION NO : 02
Test Data :
Expected Output :
Maximum element is : 45
Minimum element is : 21
Sol n
QUESTION NO : 03
Write a program in C to separate odd and even integers into separate arrays.
Test Data:
Input the number of elements to be stored in the array :5
Input 5 elements in the array:
element - 0 : 25
element - 1 : 47
element - 2 : 42
element - 3 : 56
element - 4 : 32
Expected Output :
Sol n
QUESTION NO : 04
Write a program in C to insert values in the array.
Test Data:
Expected Output :
QUESTION NO :05
Test Data:
Sol n
QUESTION NO :06
Write a program in C to find the row with the maximum number of 1s.
Test Data:
Sol n
QUESTION NO :07
Write a program in C to find the sum of the left diagonals of a matrix.
Test Data :
Input the size of the square matrix : 2
Input elements in the first matrix :
element - [0],[0] : 1
element - [0],[1] : 2
element - [1],[0] : 3
element - [1],[1] : 4
Expected Output :
The matrix is :
12
34
Addition of the left Diagonal elements is : 5
Sol n