Thread: Sum of the numbers between two integers

  1. #16
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    If the first number is larger than the second, swap them.

    Also, please don't respond to old threads. If you want to bring up an old topic again, open a new thread and put in a link to the old one.
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  2. #17
    Registered User \007's Avatar
    Join Date
    Dec 2010
    If you can solve a simple problem like this: Problem 1 - Project Euler You will know how to do this homework. I recommend spending more time on PE.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. a sum equal to or in excess of 100
    By lyoncourt in forum C Programming
    Replies: 6
    Last Post: 10-07-2007, 05:43 PM
  2. ?? with trying to sum numbers
    By Babs21 in forum C Programming
    Replies: 1
    Last Post: 09-16-2007, 03:58 PM
  3. max/min in a list of numbers
    By shockalaca in forum C Programming
    Replies: 2
    Last Post: 05-23-2005, 02:11 AM
  4. Prime Numbers and Array...
    By Deux in forum C Programming
    Replies: 12
    Last Post: 12-20-2004, 04:12 PM
  5. A (complex) question on numbers
    By Unregistered in forum C++ Programming
    Replies: 8
    Last Post: 02-03-2002, 06:38 PM