# Thread: 3\$ paid for simple code

1. ## 3\$ paid for simple code

Ill send 3\$ via paypal for the successful completion of the following assignment:

This problem will exercise both your modular programming skills, keeping track of lists and using the random number generators. We wish to produce 6 random numbers between the number 1 and 46. The program must run until a command is given to halt execution. During each pass, the program will prompt the user to hit enter, upon hitting enter, the program will produce 6 exclusive random numbers between 1 and 46. They need not appear in order and there must be no duplicates.

Below is a list of the function prototypes that can be used :

void ClearLOTTO (void);

int GetLOTTO (void);

int DUPLICATE (int Curr_Num);

void newline (int Num_Lines);

Implementation Details:

- You must use the function rand and srand to produce the random numbers.

- The system time will be used as a seed.

- Only integers between and including the numbers 1 to 46 must be used.

- The program must run until a command is entered to halt the program.

- The main routine only makes calls to user-defined functions except for a simple loop statement to control execution.

Hint: You may use a global variable such as int Lotto[6];

Example Output:

ENTER C TO CONTINUE OR ANY OTHER CHARACTER TO STOP: C

RUN NUMBER 1: 5 6 9 12 46 13

ENTER C TO CONTINUE OR ANY OTHER CHARACTER TO STOP: C

RUN NUMBER 2: 12 1 3 18 42 10

ENTER C TO CONTINUE OR ANY OTHER CHARACTER TO STOP: H

THANK YOU FOR PLAYING OUR GAME.

2. must be posted by fri march 7 at noon
and ill message who ever posted it and send 3\$
NO JOKE

3. What happens when you finish the class and don't learn anything, why take the class if your not going to learn anything? I don't understand. I'd help but then you wouldn't learn anything. Isn't the point of going to school to learn?

4. well for \$3 im afraid you can only afford 5 seconds of my time...
heres how far i got in that time....
Code:
```#include<stdio.h>

void ClearLOTTO (void);
int GetLOTTO (void);
int DUPLICATE (int Curr_Num);
void newline (int Num_Lines);

int main(voi```
Dang it ur time just ran out. but if you have more cash to buy more 5 second segments we could finish this. btw u owe me \$3

5. lol \$3

do your own work at least give it a try

6. I figure that this forum would house the most intelligent and helpful programmers so I guessed 3 dollars would be suffient for 10 minutes of thoughtlessness.
This class is necessary to have full 12 hour credit and does not help my major.
I tried this program, but failed miserably

7. I tried this program, but failed miserably
Then where is your attempt so we can show you how to fix it. You will never get your assignments done here but you will on the other hand get help fixing your code if you show that you have actually written some.

8. \$3! HA! That's funny. Gimme 20 and we'll talk.

9. >I figure that this forum would house the most intelligent and helpful programmers
How would the most intelligent programmers be dumb enough to help you cheat in school? Also, helpful doesn't mean we do your work for you, it means we volunteer to give you minor assistance when you have a problem in writing your program.

>so I guessed 3 dollars would be suffient for 10 minutes of thoughtlessness.
Perhaps, but programmers don't come cheap when you start paying. For instance, at the lowest consultancy fees I've ever gotten, 10 minutes of thoughtlessness would be more like \$42, so you're offer falls a little flat. Then there's the risk of us ever working with you. If you have no knowledge then that would hurt us considerably so it really isn't worth \$3 to help you cheat.

>I tried this program, but failed miserably
Everyone does the first time, try again.

-Prelude

10. Enough

If you have code you want help with, post it on a new thread. If you don't have any, go write some of your own. We're here to guide people, not to do all their work for them.

Read the rules which clearly cover soliciting for services.