Results 1 to 2 of 2

Thread: dividing problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Posts
    1

    Angry dividing problem

    hi,

    ive created a program that can add, subtract, multiply and divide. The problem i have is that in the dividing section of the program it develops the numbers randomly and therefor most of the time the numbers created to divide dont match.

    eg, 17 / 5

    is there a way i can create numbers that match each other and can be divided like 10 / 2 = ?

    cheers.

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    make two random integers, then multiply one by the other then use the result as the number that gets divided

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width