Comparisons
Created on Dec. 9, 2016 by Julien Palard
Find the biggest value in a given list.
Try it by using only a temporary variable, a for loop, and an if to compare the values.
I prefilled the list in the answer box, but in case you need it again, here it is:
1 2 3 4 5 6 7 8 9 10 11 12 |
|
There's no corrections yet, hit the `Submit` button to send your code to the correction bot.
Keyboard shortcuts:
- Ctrl-Enter: Send your code to the correction bot.
- Escape: Get back to the instructions tab.