Paypal for C program

Willing to give $20-30 paypal for whoever can write this functioning program in C ~

Create a program that presents and implements the following:

Menu
-Store data into 3 one-dimensional arrays each to hold 5 positive numbers(floats)
(use a function to process one array at a time)
provide a error check routine to insure only valid numbers are entered

-Print all arrays: array name, index and the values

-Compute the average
(use a function to process one array at a time)
print the results from main()

-Compute and pring the average of all numbers
(use the previous function in the solution)

-Locate and print the largest value in each array
(use a function to process one array)

-Print the largest value from all the numbers

-Clear the arrays

-Loop until the user is done

At the end, print the number of requests processed.
Note: The user may request the operations in any order

Do us all a favor and drop your class/major. We don't need more slackers in the workplace.

you want 200-300 for a 150 line program :x? I understand there might have been a no homework policy and quite positive there are gonna be trolls that get offended here.

I fell behind in class due to personal problems and haven't been able to catch up w/ the class. at this point i'm just trying to pass it. i don't plan on puruseing a career in programming so there's not a need to worry. I'm not asking anyone to do this for free or trying to bum this off someone. but if there's anyone with some spare time and can do it that's cool.

No need to tell anyone they're a slacker because you have no idea how that person is in real life. Anyway........... yeah.

I'm sure there are at least a few individuals here willing to help you understand and solve your problem. What are you going to do on your final exam? You can't pay someone to take that for you, unfortunately.
First of all, Do you understand functions, loops (while, for, do), and other control statements (if, switch)? Do you understand arrays?

I'll be happy to attempt to help you, if that's the case please try to explain "where you are" in C programming, or what problems you are having with this assignment. But if you want someone to do your assignment for you and want to compensate them, you should try a freelance/rent a coder type website, not an educational community.

Last edited by Phenax; 04-05-2011 at 06:26 PM.

Originally Posted by Plato

Never discourage anyone...who continually makes progress, no matter how slow.

you want 200-300 for a 150 line program :x? I understand there might have been a no homework policy and quite positive there are gonna be trolls that get offended here.

I fell behind in class due to personal problems and haven't been able to catch up w/ the class. at this point i'm just trying to pass it. i don't plan on puruseing a career in programming so there's not a need to worry. I'm not asking anyone to do this for free or trying to bum this off someone. but if there's anyone with some spare time and can do it that's cool.

No need to tell anyone they're a slacker because you have no idea how that person is in real life. Anyway........... yeah.

I'm sure there are at least a few individuals here willing to help you understand and solve your problem. What are you going to do on your final exam? You can't pay someone to take that for you, unfortunately.
First of all, Do you understand functions, loops (while, for, do), and other control statements (if, switch)? Do you understand arrays?

I'll be happy to attempt to help you, if that's the case please try to explain "where you are" in C programming, or what problems you are having with this assignment. But if you want someone to do your assignment for you and want to compensate them, you should try a freelance/rent a coder type website, not an educational community.

Since you're the only one who gave real advice and actually made me attempt this. I'll show you my progress. i understand all the concepts and Logic pretty much, i'm stuck more so with the syntax. Here's what i have so far.

When you pass an array to a function, it decays to a pointer. A pointer is just something that points to a memory address. If you pass a pointer to a function, you are passing the memory address of that variable, so you can actually go to that memory address and modify it. So if you pass a pointer to a variable from our main function, and modify the data at that pointer in another function, the variable in our main function will be effected.

You declare arrays like this:

Code:

type name[MAX_LENGTH];

so

Code:

float data[MAX];

perhaps in your case.

Note this:
Your array can contain five floats. That is, data[0] through data[4]. That does not include data[5].

You still, of course, need to do the "error checking" and whatnot for the function.