0
can someone please write a program that...
...utilizes array to find the sum, average and standard deviation of the following scale record 50.5,20.2,30.0,25.5,20.0,22.0,20.2,30.5,20.0,30.7, 40.2,30.5,25.2,29.2,30.7,42.5,28.5,50.7,20.5,28.2 note use appropriate array data type and declare as many array as you deem necessary to enable you compile the correct final answer using net beans need it urgently
7 Answers
+ 1
I did. I gave you the answer, you just need to program it. If I can take the time to learn what standard deviation was, and design a program for your question, you can take the time to program it. You want to learn programming, you're not going to learn it by letting everyone do your work for you. Am I going to get college credit for solving your problem? no. Don't take the lazy route, apply yourself.
+ 1
14 hours and you haven't produced more then hello world? I'm thinking you should probably just give up. It's obvious you're not actually interested in learning. Enjoy failing, hope you learn a lesson from this.
0
Going to be a bit rude here, but I think you need it. If you want people to write your programs for you, expect to pay them. What I will do, is give you some info so you can write the program yourself, like a responsible person :). You can do all of this with 1 array, 2 for loops, and a few variables. Put all your numbers in an array, create a for loop that cycles through all the indexes adding them to a sum variable. boom, have sum. Divide sum by array length, boom average. For standard deviation, create another for loop. With one line, you can use Math.pow to take the indexes, subtract the avg, and square the number into a new sum variable. Now just take this new sum, divide by the array length again, then use Math.sqrt on the result. Boom, you've got your standard deviation. Print out all your results and you my friend, have created a program on your own.
0
I am stl new to Java programming and that was an assignment given to me in college so please can you help me out with it I will be grateful
0
I'm still at the basics
0
I.e hello world
0
it like an assignment in school