+ 1
Help with code
Write a C# Sharp that allows a user to input a number of integer values stored in an array. Write two separate methods one for calculating the sum, the second for the average. These functions should accept the array as input into the function. https://code.sololearn.com/cn6utjJmZpn0/?ref=app
2 Answers
+ 2
Have a look at this link
https://code.sololearn.com/cQqBGJoqYoVt
There were some copy issue
The total was already returned in the for-loop
The code is working now.
You should implement your self
Call the SUM-method
Print the result of the SUM-method
0
Thanks



