d2jsp
d2jsp Forums > Programmer's Haven > C/C++/C# > C++ Project Help > Paying Fg
Add Reply New Topic New Poll
flowrevolution
#1 Nov 13 2017 03:15pm
Group: Member
Posts: 5,509
Joined: May 6 2008
Gold: 3,917.00
Using "#include <array>.....

Create a program that automatically picks six lottery numbers for each dollar a customer pays.
The first five numbers must all be unique (non-repeating), and must all be within the range 1 through 50 inclusive, while the sixth number can be any number within the range 1 through 60 inclusive,
meaning that the number may even be the same as one of the first 5 numbers.
The program should prompt the customer for how many dollars he or she wishes to spend,
and then produce that many sets of six numbers.



Demonstrate the use of the following in your solution:
• Iteration (Looping)
• Arrays or Vectors or both (Your choice)
• Random number generator


I'm Going to start working on this Incase no one can do this. If you can pm and we can talk in discord to get it done as fast as possible.

thanks!

IMPORTANT: I don't want you to do this for me , I want you to help me complete it ( which really means I want to understand it when its finished).

If you want to do it and then explain it to me I guess that is okay but would prefer like 30 minutes of tutoring basically.

This post was edited by flowrevolution on Nov 13 2017 03:34pm
YCX
#2 Nov 13 2017 04:44pm
Group: Member
Posts: 108
Joined: Jan 24 2009
Gold: 2,373.85
I can help
Go Back To C/C++/C# Topic List
Add Reply New Topic New Poll