Explore BrainMass
Share

Explore BrainMass

    Multipling using Rand

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Use Rand to produce 2 positive one digit integers.

    © BrainMass Inc. brainmass.com October 9, 2019, 5:52 pm ad1c9bdddf
    https://brainmass.com/computer-science/random-number-generation/multipling-rand-70880

    Solution Preview

    Please see the attached file.

    Random integer:
    In C++, the rand function returns a "random" positive integer from 0 to a large value (at least 32,767) ...

    Solution Summary

    The solution assists with multiplying using Rand.

    $2.19