Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

aeleneski

i

This topic is 6066 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
No offense, but this is an extremly basic program, and sounds like a class assignment. I''m not going to help for 2 reasons, if I write a program for you, you may not learn, and I have no idea what language you are doing the program in. I also doubt anyone besides me will bother repling to this thread.

Share this post


Link to post
Share on other sites
Use a while loop and accumulators to keep track of the sum of the numbers. Use two vars to keep track of your high/low numbers. Your difference is high - low. That might help you get started.

"cogito, ergo sum" -Descartes

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!