i have an assigment to solve a mathemathical problem of rolling ball its height decrease by 1/4 of its original height.
please give me an example. thank you

Even if someone was inclined to do the whole thing without the slightest effort on your part and post an entire working program, that person would have to ask you to be more specific. I can think of several programs that I could write that might possibly conform to your description, each wildly different from each other.

You know someone is going to have to ask you for details, so why prolong the agony? Just give a full description of the problem in the initial post.

Plz eplain your question it's very confusing..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.