Here's a sample of code with indentations to show nesting:
int size = 6;
for(int lineNbr=0; lineNbr < size; lineNbr++) {
// print size - lineNbr spaces
for(int nS...
Type: Posts; User: Norm
Here's a sample of code with indentations to show nesting:
int size = 6;
for(int lineNbr=0; lineNbr < size; lineNbr++) {
// print size - lineNbr spaces
for(int nS...
Please edit the code and format it properly. Nested statements should be indented.
What happens when the code is executed? Does the output look correct for the data that was entered as input?
Can you describe what the code is doing incorrectly?
Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get highlighting and preserve formatting.
Be sure the...