Write a short loop that reads in 10 values from the user then determines the highest value entered as well as the average. The program should then output these values.
What have you tried?
There is a simple user-input example in Planning and Implementing a Program
...R
illrekum9:
Write a short loop that reads in 10 values from the user then determines the highest value entered as well as the average. The program should then output these values.
Why would you use an Arduino for this?
If you want to cheat your school assignment, it isn't the mark of the sharpest spoon in the drawer to use your school email address.
AWOL:
If you want to cheat your school assignment, it isn't the mark of the sharpest spoon in the drawer to use your school email address.
Or to quote the assignment verbatim.
PaulS:
Why would you use an Arduino for this?
Perhaps it's an Arduino course?
elvon_blunden:
Perhaps it's an Arduino course?
Pretty dumb course then. Courses should cover how to use the hardware appropriately. The Arduino is not the ideal device for getting user input, when that input has to come from another computer.