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

Username:   Password: 
 RegisterRegister   
 If you guys are bored and want circles to magically change colors randomly look at this and reply to say how it is
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Jesse Kazemi




PostPosted: Wed Jun 18, 2014 1:07 pm   Post subject: If you guys are bored and want circles to magically change colors randomly look at this and reply to say how it is

%Question 6: This program will display 100 circles where all the circles
%have a center at 320, 240. The first circle should have a radius
%of 100 and each of the remaining circles decrease in radius by 1 pixel.
%*/
for decreasing radius : 100 .. 1
drawfilloval (320, 240, radius, radius, Rand.Int (0, 255))
end for

your mind was blown Shocked Shocked Shocked Shocked Shocked
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Thu Jun 19, 2014 11:07 pm   Post subject: RE:If you guys are bored and want circles to magically change colors randomly look at this and reply to say how it is

Quote:
your mind was blown


Nah, not really.

It's a waste of time to post 3-line programs. Nobody needs or wants to see it. If you do something impressive that you're really proud of then by all means post it, but there's no need to share every assignment that you write.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: