Minimum of N numbers

  • 5
  • Locked
The programmer searches for minima and maxima wherever he can—among two numbers, in an array, in a list... Students at the secret CodeGym center study lists on the eighth level, so this important moment has come for you. Even now, you can try to find the minimum in a list of n numbers. But before you look for the minimum, you need to create a list. What are you waiting for?
You can't complete this task, because you're not signed in.
Comments (6)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Justin Smith
Level 38 , Greenfield, USA, United States
15 July 2021, 18:32
If you have read all the optional articles that come near the end of each level, such as the one about Collection.* methods, this one will be pretty quick and easy.
Level 16 , Texas, United States
31 May 2021, 06:45
the hardest that it works but they want you to do it a certain way
Level 11 , Banja Luka, Bosnia and Herzegovina
10 March 2021, 14:30
Requirements: 1. Use the keyboard to enter the number N. 2. Read N integers and put them in a list: the getIntegerList method. ... The getIntegerList() method should read the number N from the keyboard and then return a list of N elements, which has been filled with numbers read from the keyboard. Remark: statemens 1) and 2) contradict themselves. Are we supposed to read ONE or MORE numbers? PS I get it now. 1. Input an integer N. 2. Input N integers and put them in the list (N-sized).
andy 6473
Level 9 , Bangalore, India
24 August 2020, 12:24
In the above exercise , the first number is the value of N.
Ian Rafferty
Level 13
28 June 2020, 13:43
it works but says i'm not reading N number in the conditions. Any help please guys ??
18 February 2020, 12:32
Most of the exercises are not difficult ...the task requirements are killing me. I think they keep a balance between not giving you the solution and asking you to do it in a certain way.