cp -r /home/student/Classes/201/Labs/Lab04 .Don't forget the space and the dot . at the end of the command. Also, don't worry that you get a message indicating that you can't copy the Solution subdirectory.
After running this copy command, do an ls you will see a new directory called Lab04. What you copied was actually a directory, plus all of its contents. Everything you need for the lab exercises today is contained in this new directory.
!!!!!!!!!!!!!! \\!!!!!!!!!!// \\\\!!!!!!//// \\\\\\!!//////Replace the comments that say /*something in terms of the row*/.
Line | Number of \ | Number of ! | Number of / |
---|---|---|---|
1 | 0 | 14 | 0 |
2 | 2 | 10 | 2 |
3 | 4 | 6 | 4 |
4 | 6 | 2 | 6 |
!!!!!!!!!!!!!!!!!!!!!! \\!!!!!!!!!!!!!!!!!!// \\\\!!!!!!!!!!!!!!//// \\\\\\!!!!!!!!!!////// \\\\\\\\!!!!!!//////// \\\\\\\\\\!!//////////3 Show us your working program. We will ask you to change the value of your constant, recompile and run your program. So make sure it produces the correct output for different heights.
000111222333444555666777888999Think about what the outer loop should control. Then think about what the inner loop should control for each cycle of the outer loop.
000111222333444555666777888999 000111222333444555666777888999 0001112223334445556667778889994 Show us your working program.
00000111112222233333444445555566666777778888899999 00000111112222233333444445555566666777778888899999 00000111112222233333444445555566666777778888899999 00000111112222233333444445555566666777778888899999 000001111122222333334444455555666667777788888999995 Show us your working program. We will ask you to change the value of your constant, recompile and run your program. So make sure it produces the correct output for different heights.