Post date: Mar 13, 2017 6:42:20 AM
/!\ Sections 101 and 103: Practical Midterm will be on the first class
/!\ Section 102: Practical Midterm will be on the second class
/!\ Assignment 1 to be submitted on JUC's BlackBoard
Flow of Control
3.3 Loops (for / nested loops)
Recommended Self-Test Exercises:
p 178-179: Ex. 28, 29, 31-33, and 35-39.
Lab Exercise:
Print following structures in Java using nested loops by asking the user to give you the size of the structure:
# # # # #
# #
# #
# #
# # # # #
# # # #
# #
# #
# # # #
Print each of the following patterns using nested loops:
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # (a) (b) (c) (d) # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # (e) (f) (g) (h) (i)