What does the following program do?
What will be an ideal response?
```
// What does this program print?
#include
using namespace std;
int main()
{
int x; // declare x
int y; // declare y
// prompt user for input
cout << "Enter two integers in the range 1-20: ";
cin >> x >> y; // read values for x and y
for ( int i = 1; i <= y; i++ ) // count from 1 to y
{
for ( int j = 1; j <= x; j++ ) // count from 1 to x
cout << '@'; // output @
cout << endl; // begin new line
} // end outer for
} // end main
```
You might also like to view...
You can use Design view to define the table’s fields and the field properties and rearrange the order of fields as necessary. _________________________
Answer the following statement true (T) or false (F)
You should take great care in managing your internal links to make sure they work correctly and are timely and relevant to the page content.
Answer the following statement true (T) or false (F)
Most bridges have what is known as ____________________ that minimizes the spread of the signal so that it can reach farther distances.
Fill in the blank(s) with the appropriate word(s).
Answer the following statements true (T) or false (F)
1) The insertion operator (<<) inserts characters into the input stream. 2) cout is the name of the stream associated with the standard input device. 3) A type double variable can represent a larger range of values than can be represented by a type int variable. 4) A unary operator takes two operands. 5) Cancellation error may occur when two values of greatly different magnitudes are added together.