(Solved) : 4 Write Program Using Loops 2d Arrays Inputs 3×3 Matrix 3 Component Vector X Keyboard B Ca Q44116263 . . .
using c++
4) Write a program using for loops and 2D arrays that: a) Inputs a 3×3 matrix A and a 3 component vector x from the keyboard b) Calculates and prints out b, where b = A*x c) Counts and prints out the number of elements of A between -1 and 1 d) Counts and prints out the number of elements of A equal to 5 Note if you haven’t covered for loops and 2D arrays yet you can just use regular variables and expressions. Later on you should re-solve this problem with for loops and 2D arrays when you have covered that material. Show transcribed image text 4) Write a program using for loops and 2D arrays that: a) Inputs a 3×3 matrix A and a 3 component vector x from the keyboard b) Calculates and prints out b, where b = A*x c) Counts and prints out the number of elements of A between -1 and 1 d) Counts and prints out the number of elements of A equal to 5 Note if you haven’t covered for loops and 2D arrays yet you can just use regular variables and expressions. Later on you should re-solve this problem with for loops and 2D arrays when you have covered that material.
Expert Answer
Answer to 4) Write a program using for loops and 2D arrays that: a) Inputs a 3×3 matrix A and a 3 component vector x from the keyb…
OR