Which are two advantages of breaking a problem into differen
Solution
8) Which are two advantages of breaking a problem into different methods?
1. Modularity, which leads to re-using the code.
2. Modularity, which leads to better understanding the code.
9) Declare a one-dimensional array of Strings, and initialize the first element of the array,
with your first name, and the second element with last name.
string fullName[] = {\"first name\", \"second name\"};
10) Declare a two-dimensional array of doubles called myArray consisting of 3 rows and 2 columns.
double myArray[3][2];
11) Write a statement to assign the value 2.5 to the element of the myArray two-dimensional array located in
the third row and second column.
myArray[2][1] = 2.5;
