Thread: Break And Build Program

  1. #1
    Registered User
    Join Date
    Dec 2001

    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
    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, 01: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