What does the following program segment do?
```
for ( int i = 1; i <= 5; i++ )
{
for ( int j = 1; j <= 3; j++ )
{
for ( int k = 1; k <= 4; k++ )
cout << '*';
cout << endl;
} // end inner for
cout << endl;
} // end outer for
```
```
// Prints 5 groups of 3 lines, each containing 4 asterisks.
#include
using namespace std;
int main()
{
for ( int i = 1; i <= 5; i++ )
{
for ( int j = 1; j <= 3; j++ )
{
for ( int k = 1; k <= 4; k++ )
cout << '*';
cout << endl;
} // end inner for
cout << endl;
} // end outer for
} // end main
```
You might also like to view...
The operating system provides the means for users to interact with a computer
Indicate whether the statement is true or false
All Access queries use ________ behind the scenes to extract data from tables
A) SQL statement B) Oracle statement C) Sybase statement D) Structured statement
A table style is a predefined set of formatting properties that control the appearance of a table
Indicate whether the statement is true or false.
Word generates a table of figures from the ____ in the document.
A. indices B. bookmarks C. topics D. captions