Exercising tasks

  1. Create a program that randomly generates array elements from <8, 64>.
  2. Create a program in which you enter a range of values ​​through the input to randomly generate array elements.
  3. Create a program that draws a column histogram using the array (Figure). 
  4. Modify your program so that values ​​that have already been selected and assigned to one of the array elements are not repeated during random values ​​generation.
  5. Create a program that finds the lowest array element with randomly generated elements from the interval <3, 25>.
  6. Create a program that calculates the product of all array elements. 
  7. Create a program that calculates the geometric mean of the given array elements. 
  8. Create a program that generates array values ​​according to the Fibonacci sequence.
Vytvorte si webové stránky zdarma! Táto stránka bola vytvorená pomocou služby Webnode. Vytvorte si vlastný web zdarma ešte dnes! Vytvoriť stránky