Welcome Guest ( Log In | Click here to Register a free account now! )
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.| Important Announcement: The winners of the BC Million Post contest have been announced. You can read who the winners are at this post. - BleepingComputer Management |
![]() ![]() |
Dec 10 2005, 07:24 AM
Post
#1
|
|
![]() Distinguished Member ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 622 Joined: 3-July 05 From: Singapore Member No.: 25,681 |
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 ? This post has been edited by Nikas: Dec 10 2005, 07:25 AM |
|
|
|
Dec 11 2005, 09:45 AM
Post
#2
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 6,217 Joined: 5-June 04 From: Vermillion, SD Member No.: 689 |
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?
-------------------- |
|
|
|
Dec 13 2005, 11:58 AM
Post
#3
|
|
![]() Distinguished Member ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 622 Joined: 3-July 05 From: Singapore Member No.: 25,681 |
i've got it already. anyway thanks.
|
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 22nd November 2008 - 08:31 AM |