Write a program to random generate BINGO cards. Your programshould randomly gene
ID: 3611573 • Letter: W
Question
Write a program to random generate BINGO cards. Your programshould randomly generate 5x5 BINGO cards for N number ofplayers. Column 0 is the column for B, column 1 is the column for I,column 2 is the column for N, column 3 is the column for G andcolumn 4 is the column for O. Randomly generate the numbers 1-15for column B, numbers 16-30 for column I, numbers 31-45 for columnN, numbers 46-60 for column G and numbers 61-75 for column O. Themiddle position is a free space. Place the number zero in the freespace. Prompt the user for the number of players. Your program shouldgenerate a card for each player. Your program should output thenumber of players and display each card generated. Please Use Java Programming Write a program to random generate BINGO cards. Your programshould randomly generate 5x5 BINGO cards for N number ofplayers. Column 0 is the column for B, column 1 is the column for I,column 2 is the column for N, column 3 is the column for G andcolumn 4 is the column for O. Randomly generate the numbers 1-15for column B, numbers 16-30 for column I, numbers 31-45 for columnN, numbers 46-60 for column G and numbers 61-75 for column O. Themiddle position is a free space. Place the number zero in the freespace. Prompt the user for the number of players. Your program shouldgenerate a card for each player. Your program should output thenumber of players and display each card generated. Please Use Java ProgrammingExplanation / Answer
please rate - thanks import java.util.*; public class bingo {static int [][][]card = new int[20][5][5]; static Random generator = new Random(); public static void main(String []args) {int num,i; Scanner in=new Scanner(System.in); System.out.print("How many cards: "); num=in.nextInt(); System.out.println("There are "+num+" players in thisgame "); for(i=0;iRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.