Question: using c++ 4) Write a program using for loops and 2D arrays that: a) Inputs a 3x3 matrix A and a 3 component vector x
using c++
4) Write a program using for loops and 2D arrays that: a) Inputs a 3x3 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
