Write a program to print out ten random numbers

Write a program to print out ten random numbers from the following sets:

a) {0, 1, 2, 3, 4, 5, ...99, 100}

b) {1, 2, 3, 4, 5, 6}

c) (10, 20, 30, 40, 50,...990, 1000}

d) {-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5}

e) {1.5, 2.0, 2.5, 3.0, 3.5}

 

 

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.