Java Reference
In-Depth Information
7. Write a program that produces the following figure (which vaguely resembles this textbook) as its output. Use a class
constant to make it possible to change the size of the figure (the following output uses a size of 10).
+------------------------------+
/ ___/
/ ___/__//
/ ___/__/__///
/ ___/__/__/__////
/ ___/__/__/__/__/////
/ ___/__/__/__/__/__//////
/ ___/__/__/__/__/__/__///////
/ ___/__/__/__/__/__/__/__////////
/ ___/__/__/__/__/__/__/__/__/////////
/___/__/__/__/__/__/__/__/__/__//////////
+------------------------------+//////////
| Building Java Programs |//////////
| Building Java Programs |////////
| Building Java Programs |//////
| Building Java Programs |////
| Building Java Programs |//
+------------------------------+
Search WWH ::




Custom Search