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

Username:   Password: 
 RegisterRegister   
 Help with school work: graphics and counted loops assignment
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
haseeb




PostPosted: Thu Oct 20, 2005 4:31 pm   Post subject: Help with school work: graphics and counted loops assignment

Question: Write a program to show a circle being chased by a star around the perimeter of the screen. Both shapes must transition the corners smoothly, and both shapes muset be moving at all times.

Remember you have to use loops to do this.

Please try to email the answer to me at haseebmalik@msn.com or just pm the answer to me.
Sponsor
Sponsor
Sponsor
sponsor
beard0




PostPosted: Thu Oct 20, 2005 4:54 pm   Post subject: (No subject)

We do not do homework for you. Start working on it. If you have problems, post what you have already done, and explain what your specific problem is.
haseeb




PostPosted: Thu Oct 20, 2005 5:09 pm   Post subject: (No subject)

I actually have started working on it, its at school though i will save it and bring it home and then i will post it. I worked on it for two classes but it still has a lot of bugs.
haseeb




PostPosted: Sun Oct 23, 2005 6:47 pm   Post subject: (No subject)

Here is the code there are some problems with it can someone please fix them(PLEASE try fixing them by tuesday). Thanks
jamonathin




PostPosted: Sun Oct 23, 2005 7:42 pm   Post subject: (No subject)

You know, i was about to help you out bud, untill i say this little bracket.
haseeb wrote:
(try fixing them by tuesday)

Sorry haseeb, *** ***** ***-**-*-**** ****, find someone else to take orders from you.

******* ****.
haseeb




PostPosted: Sun Oct 23, 2005 7:44 pm   Post subject: (No subject)

Sorry i ment please try fixing them by tuesday. I would really appericiate it.
Cervantes




PostPosted: Sun Oct 23, 2005 8:35 pm   Post subject: (No subject)

Adding 'please' does not take away the fact that that is an order. It is now slightly more polite, but an order nonetheless.


So, to summarize things for you:

We don't do your homework. We help teach programming concepts, aiding you in your homework, indirectly.
We work to our own schedule, not yours. Fortunately, there are lots of us, so chances are you're question will be answered quickly.
Ordering volunteers is rude and works against your goals.

Lastly, please use [code][/code] tags to surround your code. Better yet, you could use [syntax="Turing"][/syntax] tags. Smile

Have a good evening.
haseeb




PostPosted: Sun Oct 23, 2005 9:33 pm   Post subject: (No subject)

I am sorry i made these mistakes i will make sure i wont do it again. I am sorry to all the people i may have offended.
Sponsor
Sponsor
Sponsor
sponsor
beard0




PostPosted: Sun Oct 23, 2005 10:41 pm   Post subject: (No subject)

haseeb wrote:
Please try to email the answer to me at haseebmalik@msn.com or just pm the answer to me.


We won't do either, because the whole point is that someone else with similar dificulties can profit as well, by seeing this post.


Play with these two functions, figure out what they do, and how. Then use them.

code:
fcn xpos (Time : int) : int
    var x := Time mod (2 * maxx + 2 * maxy - 200)
    if x >= 2 * maxx + maxy - 150 then
        x := 0
    elsif x >= maxx + maxy - 100 then
        x := 2 * maxx + maxy - x - 150
    elsif x > maxx - 50 then
        x := maxx - 50
    end if
    result x + 25
end xpos
fcn ypos (Time : int) : int
    var y := Time mod (2 * maxx + 2 * maxy - 200)
    if y >= 2 * maxx + maxy - 150 then
        y := 2 * maxx + 2 * maxy - y - 200
    elsif y >= maxx + maxy - 100 then
        y := maxy - 50
    elsif y > maxx - 50 then
        y := y - maxx + 50
    else
        y := 0
    end if
    result y + 25
end ypos
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  [ 9 Posts ]
Jump to:   


Style:  
Search: