How many asterisks will be output by the following code? for
(int i = 1; i < n; ++i) { for (int j = 1; j < m; ++j) {
cout << "*"; }
}
a. n
b. m
c. n + m
d.n*m
e.(n-1)+(m-1)
f.(n-1)*(m-1)
How many asterisks will be output by the following code? for (int i = 1; i < n; ++i) { for (int j = 1; j < m; ++j) { cou
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am