Lesson 57--Matrix Addition, Subtraction & Storing Random Numbers - Programming Logic Part 10

Опубликовано: 01 Январь 1970
на канале: JavaJourneyWithMadhavi
17
3

In this video, Matrix operation Addition and Subtraction are explained with the help of one program and generating random numbers and storing in a matrix is explained with the help of second program.

Link to the Book - Essentials of Computer Applications:

https://www.amazon.in/Essentials-Comp...

Link to the video - Pass by value & Pass by reference, Lesson 34:
   • Lesson 34 User-defined Methods - Part 4 Pa...  

Link to the video explicit and implicit type conversion, Lesson 13:
   • Lesson 13 Type Conversion - Implicit,  Exp...  

Link to the video Math.random() method, Lesson 30:
   • Lesson 30 Usage of Math Class Methods  

Practice Exercise Lesson-57:

1. Read two matrices, subtract the elements of the second matrix from the elements of first matrix and display all the three matrices.
2. Read a 3 × 4 matrix and if an element is 0, make the entire row and column to zero. (Assume user will input only one zero in the matrix).
3. Declare a 2 × 3 matrix and store random numbers from 20 to 40.