Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 One question help please
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Luffy123




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
Amarylis




PostPosted: 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?
Raknarg




PostPosted: 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.
Luffy123




PostPosted: 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?
Amarylis




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: