Exercise: Enter the number of rown: 5 1- Write a program that shows the following output: 1 123 12345 1234567 123456789 Zahraa 1234567 12345 123 1 2- Suppose W is a (6,4) two-dimension array. Write a...


Exercise:<br>Enter the number of rown: 5<br>1- Write a program that shows the following output:<br>1<br>123<br>12345<br>1234567<br>123456789<br>Zahraa<br>1234567<br>12345<br>123<br>1<br>2- Suppose W is a (6,4) two-dimension array. Write a program which sorts W on<br>column by column so that its elements are increasing (Ascending) and stores<br>in the same array. Display the new array (W) in a picturebox.<br>4719<br>537 11<br>2 13 66 32<br>13 9 10 4<br>21 8 15 11<br>16 22 60<br>1314<br>2679<br>47 10 11<br>58 15 11<br>13 9 22 32<br>21 13 66 60<br>Computer Principles II - Asst. Lect. Zahraa A. Nejim<br>3- Write a program to read and print Wan array of 5 numbers then print the array<br>in reverse order.<br>4- Write a program to read and print an array of 20 elements. Split the odd and<br>even numbers in that array into two arrays.<br>5- Write a program to read and print a 3 by 4 array. Find the summation of each<br>row.<br>0,0 0,1 0,2<br>0,0 0,1 0,2<br>0,0 0,1 0,2<br>0,0 0,1 0,2<br>1,0 1,1 1,2<br>1,0 1,1 1,2<br>1,0 1,1 1,2<br>1,0 1,1 1,2<br>2,0 2,1 2,2<br>2,0 2,1 2,2<br>2,0 2,1 2,2<br>2,0 2,1 2,2<br>i=j<br>i+j=n-1<br>i>j<br>i<j<br>n is the dimension of an array.<br>6- Write a program to read and print a 3 by 3 array. Replace the main diagonal<br>elements with zero.<br>Zahraa<br>

Extracted text: Exercise: Enter the number of rown: 5 1- Write a program that shows the following output: 1 123 12345 1234567 123456789 Zahraa 1234567 12345 123 1 2- Suppose W is a (6,4) two-dimension array. Write a program which sorts W on column by column so that its elements are increasing (Ascending) and stores in the same array. Display the new array (W) in a picturebox. 4719 537 11 2 13 66 32 13 9 10 4 21 8 15 11 16 22 60 1314 2679 47 10 11 58 15 11 13 9 22 32 21 13 66 60 Computer Principles II - Asst. Lect. Zahraa A. Nejim 3- Write a program to read and print Wan array of 5 numbers then print the array in reverse order. 4- Write a program to read and print an array of 20 elements. Split the odd and even numbers in that array into two arrays. 5- Write a program to read and print a 3 by 4 array. Find the summation of each row. 0,0 0,1 0,2 0,0 0,1 0,2 0,0 0,1 0,2 0,0 0,1 0,2 1,0 1,1 1,2 1,0 1,1 1,2 1,0 1,1 1,2 1,0 1,1 1,2 2,0 2,1 2,2 2,0 2,1 2,2 2,0 2,1 2,2 2,0 2,1 2,2 i=j i+j=n-1 i>j i

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here