Write a program, that takes 16-Elements in Two-Dimensional-Array that has 4 rows & 4 columns, then display the diagonal of Matrix. #include<iostream> using namespace std; int main() { int arr[4][4],i,j; cout<<"Enter elements of array: "<<endl; ...
Featured Posts
Monday, 1 January 2018

Take three values from the user and find discriminant then find the root if disc is greater than less than or equal to zero
Take three values from the user and find discriminant then find the root if disc is greater than less ...

Write a program, that takes 12-Elements in Two-Dimensional-Array that has 3 rows & 4 columns, then Transpose of that Matrix & Display it.
Write a program, that takes 12-Elements in Two-Dimensional-Array that has 3 rows & 4 columns, then Transpose of that Matrix & Display it. ...

Declare and define an array and sort the values in ascending order.
Declare and define an array and sort the values in ascending order. #include<iostream> using namespace std; main() { int i,a[10],temp,j; cout<<"Enter any 10 num in array: \n"; for(i=0;i<=10;i++) { cin>>a[i]; } cout<<"\nData before sorting: ";...

take a single dimensional array set the default values to 0 or -1, take choice from the user if a inser values the values for the array, if b update the values and if c delete values from the array.
take a single dimensional array set the default values to 0 or -1, take choice from the user if a inser values the values for the array, if b update the values and if c delete values...

Write a program to pass array as an argument to the function.
Write a program to pass array as an argument to the function. #include<iostream> using namespace std; void display (int marks [5]); int main() { int marks[5]={88,34,54,45,32}; display (marks); return 0; } void display (int m[5]) {...

Write a program using array and swap first and last value of array.
Write a program using array and swap first and last value of ...
Write a program, that takes 16-Elements in Two-Dimensional-Array that has 4 rows & 4 columns, then display the diagonal of Matrix.
Write a program, that takes 16-Elements in Two-Dimensional-Array that has 4 rows & 4 columns, then display the diagonal of Matrix. ...
