Q2/ If you have the following matrix A= 1 2 3 4 56 7 8 9 10 11 12 13 14 15 16 Write one command that do the following action: (answer two only) 1- A= 0 0 0 6 0 0 10 11 0 1 5 13 14 15 16 2- A= 9 10 11 12 3- A= 2 3 4 15 9 13 5 6 7 8 26 10 14 9 10 11 12 37 11 15 1 13 14 15 16 48 12 16

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter12: Points, Classes, Virtual Functions And Abstract Classes
Section: Chapter Questions
Problem 17SA
icon
Related questions
Question
I need the answer as soon as possible
Q2/ If you have the following matrix
A=
1
2 3 4
6 7 8
9 10 11 12
13 14 15 16
Write one command that do the following action: (answer two only)
1- A=
0 0 0
6 0 0
9 10 11 0
1
5
13 14 15 16
2- A=
9 10 11 12
3- A=
2 3 4 15 9 13
8 2 6 10 14
9 10 11 12 37 11 15
1
5
6 7
13 14 15 16 4 8 12 16
Transcribed Image Text:Q2/ If you have the following matrix A= 1 2 3 4 6 7 8 9 10 11 12 13 14 15 16 Write one command that do the following action: (answer two only) 1- A= 0 0 0 6 0 0 9 10 11 0 1 5 13 14 15 16 2- A= 9 10 11 12 3- A= 2 3 4 15 9 13 8 2 6 10 14 9 10 11 12 37 11 15 1 5 6 7 13 14 15 16 4 8 12 16
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning