Computer Science Canada One question help please |
Author: | Luffy123 [ Tue May 01, 2012 7:10 pm ] |
Post subject: | One question help please |
7. Write a program called P1Q7 which displays a small diamond followed medium diamond and then a large diamond. Each one should stay on the screen for one second. Display the word ?small? or ?medium? or ?large below the figure. Continue displaying the diamonds until the user presses any key. |
Author: | Amarylis [ Tue May 01, 2012 7:23 pm ] |
Post subject: | RE:One question help please |
Erm, anything specific that you'd like help with on the question? |
Author: | Raknarg [ Tue May 01, 2012 7:58 pm ] |
Post subject: | RE:One question help please |
Also, im not inclined to do your homework. Unless you've got five bucks on you right now. |
Author: | Luffy123 [ Tue May 01, 2012 8:22 pm ] |
Post subject: | Re: RE:One question help please |
Amarylis @ Tue May 01, 2012 7:23 pm wrote: Erm, anything specific that you'd like help with on the question?
Yes one thing only really. Was looking for the best possible way to do this. after the small diamond. how do i clear it and make a bigger diamond. whats the best way to do that. cls after each diamond? |
Author: | Amarylis [ Tue May 01, 2012 8:44 pm ] |
Post subject: | RE:One question help please |
Yup. You might want to use a for loop so you dont have to do the code for all 3 diamonds, and just loop the for loop |