Explore BrainMass

Multipling using Rand

Use Rand to produce 2 positive one digit integers.

© BrainMass Inc. brainmass.com July 16, 2018, 2:41 pm ad1c9bdddf

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.