help me with this problem:
to develop a C++ program that generates three random numbers within the range of numbers specified by the user. The program will then determine the largest and the smallest numbers among those three numbers.:'(
NoMoreKawasaki
0
Newbie Poster
Recommended Answers
Jump to PostHave a look here.
It's a really good reference about random number generation.
After the user sets the bounds of the random numbers, you could easily store the random numbers you generate in an array using a for loop.
For finding the largest and …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.