Ap exams are scored on a scale of 1 to 5. A score of 5 means that the student is extremely well qualified to receive college credit for that course. But the answer to this would be 4. When someone gets a 4 it means they are well qualified.
Answer: 4
Answer:
#include <iostream>
using namespace std;
void matrix(){
int row = 5, col = 6;
int myarr[row][col];
for (int i = 0; i < 5; i++){
for (int x = 0; x < 6; x++){
if (i == 0){
myarr[i][x] = (x+1)*(x+1);
}else if ( x == 0){
myarr[i][x] = (i+1)*(i+1)*(i+1);
} else if ( i == x){
myarr[i][x] = (i+1);
} else{
myarr[i][x] = myarr[i-1][x] + myarr[i][x-1];
}
}
}
for (int i = 0; i < 5; i++){
for (int x = 0; x < 6; x++){
cout<< myarr[i][x] << " ";
}
cout<< "\n";
}
}
int main(){
matrix();
}
Explanation:
The C++ source code defines a two-dimensional array that has a fixed row and column length. The array is a local variable of the function "matrix" and the void function is called in the main program to output the items of the array.
Try using at least one capital letter and multiple number and symbols
Example:
[email protected]#3
ok there were more than one founders
chad hurley
jawed karim
and steve chen
YouTube was found in 2005 February the 14th
ok all of the founders or known as creators are those three men uptop
hoped his helped you