Sum of the numbers between two integers

This is a discussion on Sum of the numbers between two integers within the C++ Programming forums, part of the General Programming Boards category; If the first number is larger than the second, swap them. Also, please don't respond to old threads. If you ...

  1. #16
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    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!
    CornedBee

    "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
    Posts
    179
    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.

Page 2 of 2 FirstFirst 12
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, 03:12 PM
  5. A (complex) question on numbers
    By Unregistered in forum C++ Programming
    Replies: 8
    Last Post: 02-03-2002, 05:38 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21