We want code that can not only draw each of the following patterns, but the code should be able to draw each pattern to any "size" (or "dimension" or "scale") we choose. /\/\/\/\/\/\/\/\/\/\ size = 5 | | | | | | | | | | \/\/\/\/\/\/\/\/\/\/ /\/\/\/\ size = 2 | | | | \/\/\/\/ /\/\ size = 1 | | \/\/ +----+----+ size = 4 | | | | | | | | | | | | +----+----+ | | | | | | | | | | | | +----+----+ +---+---+ size = 3 | | | | | | | | | +---+---+ | | | | | | | | | +---+---+ +-+-+ size = 1 | | | +-+-+ | | | +-+-+ +--------+ size = 4 |\....../| | \..../ | | \../ | | \/ | | /\ | | /..\ | | /....\ | |/......\| +--------+ +------+ size = 3 |\..../| | \../ | | \/ | | /\ | | /..\ | |/....\| +------+ +--+ size = 1 |\/| |/\| +--+ ++++++++++++++++++++++ size = 11 \++++++++++++++++++++/ \\++++++++++++++++++// \\\++++++++++++++++/// \\\\++++++++++++++//// \\\\\++++++++++++///// \\\\\\++++++++++////// \\\\\\\++++++++/////// \\\\\\\\++++++//////// \\\\\\\\\++++///////// \\\\\\\\\\++////////// \\\\\\\\\\\/////////// #================# size = 4 | <><> | | <>....<> | | <>........<> | |<>............<>| |<>............<>| | <>........<> | | <>....<> | | <><> | #================# #============# size = 3 | <><> | | <>....<> | |<>........<>| |<>........<>| | <>....<> | | <><> | #============# #========# size = 2 | <><> | |<>....<>| |<>....<>| | <><> | #========# #====# size = 1 |<><>| |<><>| #====# O ******* 5 stairs /|\ * * / \ * * O ****** * /|\ * * / \ * * O ****** * /|\ * * / \ * * O ****** * /|\ * * / \ * * O ****** * /|\ * * / \ * * ******************************** O ******* 3 stairs /|\ * * / \ * * O ****** * /|\ * * / \ * * O ****** * /|\ * * / \ * * ********************** O ******* 1 stair /|\ * * / \ * * ************ size = 5 size = 3 size = 2 size = 1 /**\ /**\ /**\ /**\ //**\\ //**\\ //**\\ +=*=*+ ///**\\\ ///**\\\ ///**\\\ |/\/\| ////**\\\\ ////**\\\\ +=*=*=*=*+ |\/\/| /////**\\\\\ /////**\\\\\ |./\../\.| +=*=*+ //////**\\\\\\ +=*=*=*=*=*=*+ |/\/\/\/\| |\/\/| ///////**\\\\\\\ |../\..../\..| |\/\/\/\/| |/\/\| ////////**\\\\\\\\ |./\/\../\/\.| |.\/..\/.| +=*=*+ /////////**\\\\\\\\\ |/\/\/\/\/\/\| +=*=*=*=*+ /**\ +=*=*=*=*=*=*=*=*=*=*+ |\/\/\/\/\/\/| |\/\/\/\/| |..../\......../\....| |.\/\/..\/\/.| |.\/..\/.| |.../\/\....../\/\...| |..\/....\/..| |./\../\.| |../\/\/\..../\/\/\..| +=*=*=*=*=*=*+ |/\/\/\/\| |./\/\/\/\../\/\/\/\.| |\/\/\/\/\/\/| +=*=*=*=*+ |/\/\/\/\/\/\/\/\/\/\| |.\/\/..\/\/.| /**\ |\/\/\/\/\/\/\/\/\/\/| |..\/....\/..| //**\\ |.\/\/\/\/..\/\/\/\/.| |../\..../\..| ///**\\\ |..\/\/\/....\/\/\/..| |./\/\../\/\.| |...\/\/......\/\/...| |/\/\/\/\/\/\| |....\/........\/....| +=*=*=*=*=*=*+ +=*=*=*=*=*=*=*=*=*=*+ /**\ |\/\/\/\/\/\/\/\/\/\/| //**\\ |.\/\/\/\/..\/\/\/\/.| ///**\\\ |..\/\/\/....\/\/\/..| ////**\\\\ |...\/\/......\/\/...| /////**\\\\\ |....\/........\/....| |..../\......../\....| |.../\/\....../\/\...| |../\/\/\..../\/\/\..| |./\/\/\/\../\/\/\/\.| |/\/\/\/\/\/\/\/\/\/\| +=*=*=*=*=*=*=*=*=*=*+ /**\ //**\\ ///**\\\ ////**\\\\ /////**\\\\\ //////**\\\\\\ ///////**\\\\\\\ ////////**\\\\\\\\ /////////**\\\\\\\\\