mardi 31 octobre 2017

generate 1000 random birthdays between 1 and 365 and count the number of same birthdays

generate 1000 random birthdays (numbers) between 1 and 365 and then count how many people have that same birthday output a display of each day of the year (1 – 365) followed by the number of people with that birthday, and then a listing of the days that have the most birthdays and the days that have the fewest birthdays.




Aucun commentaire:

Enregistrer un commentaire