A separate function should choose the first five numbers


Program to choose a series of numbers Write a program that will choose five numbers between and including 1 and 75. It then will choose a sixth number between 1 and 15.

The program should be structured as follows:

a) A separate function should choose the first five numbers and also check that there are no repeats. You must make sure there are no repeats!!! If a repeat occurs the system will then re-choose that number but now you must make sure it was not one of the previous numbers chosen as well.

b) A separate function will then print out the list of six numbers in a one row, an example is shown below.

c) The main section of the program should request the user enter how many sets of numbers would you like to be displayed. The program would then generate that many sets of numbers.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: A separate function should choose the first five numbers
Reference No:- TGS02900702

Expected delivery within 24 Hours