Help - Search - Members - Calendar
Full Version: Need Help In Visual Basic For Application Code.
BleepingComputer.com > Software > Programming
   
Nikas
i have this question

Write a VBA program (using Loop) to generate the following Xmas tree figure.
Refer to Appendix for hints. (Change the column width to 2 )



Any Help ?
groovicus
Since it is appears to be homework, what do you think you should do? Think about your problem. The first line has one asterisk. The second line has two asterisks, etc. There area total of 9 lines. There are two things you need to consider. First, how to stop after writing nine lines. Second, how do you append the strings so that one more asterisk is added to the string each line?
Nikas
i've got it already. anyway thanks.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.