1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To chat with the GameOgre community, you need to have at least 15 posts. Once you have the 15 posts, post at Become A New Ogre
    Dismiss Notice

A program in pascal/java/c

Discussion in 'Online Game Development' started by SerbiaPhantom, Mar 27, 2015.

  1. SerbiaPhantom

    SerbiaPhantom Club Swinger

    Likes Received:
    Trophy Points:
    - 38.98
    So my teacher told me if I do this question right,i would get an A :D .If anyone could write this program for me it would be amazing:
    A fly is jumping on an infinite string.For the first time it jumps 1cm in one direction.The second time she jumps 3cm in any direction(left or right),the third 5cm in any direction(left or right).Every time it jumps,the next time it will jump 2cm more in any direction.Is it possible for it to jump for x(input)times and on the x-th jump,it will land on the starting point(before the first jump).
    I would love you forever if you can write me this program.
  2. Croco12

    Croco12 The Crocodile The Pit
    1. TSM

    Likes Received:
    Trophy Points:
    I could do this, but in Basic... And... pm me with original text on Serbian, because I don't understand this well...

Share This Page