Break And Build Program

This is a discussion on Break And Build Program within the C++ Programming forums, part of the General Programming Boards category; can someone help me wirte a program...heres what it should include. write a function BreakUp() that takes an integer in ...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    1

    Question Break And Build Program

    can someone help me wirte a program...heres what it should include.

    write a function BreakUp() that takes an integer in the range 0-999 as a parameter and returns each of the digits in three integer reference parameters. Wirte a function Build() that takes three integer parameters and returns a value which consists of the number represented by the tree digits. Write a program illustrating BreakUp() and Build using the specification: Every number from 0-999 is first broken up then rebuilt and the result is compared to the original value. An error message should be displayed if the original and the rebuilt numbers do not match.

    thanks alot if anyone could help.

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    88
    oh, come on!
    you can do it on your own!

    write the code as far as possible and than ask us what's wrong...
    Hope you don't mind my bad english, I'm Austrian!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to build a flexible Game Menu..
    By ThLstN in forum Game Programming
    Replies: 1
    Last Post: 12-13-2008, 10:53 AM
  2. Adventures in labyrinth generation.
    By guesst in forum Game Programming
    Replies: 8
    Last Post: 10-12-2008, 02:30 PM
  3. Replies: 3
    Last Post: 02-29-2008, 01:29 PM
  4. Help with a program...
    By limitedmage in forum C Programming
    Replies: 3
    Last Post: 02-27-2006, 09:22 PM
  5. Converting Numbers to Words
    By denizengt in forum C Programming
    Replies: 20
    Last Post: 11-05-2003, 09:19 PM

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