Archived

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

This topic is 5849 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

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