Task: You are required to complete the code of the program above to satisfy the following conditions: 1. Insert your name as the author 2. Write the code to roll the dice as per the number of elements in the array. 3. Upon filling all the elements of the array, you are required to call the method getFace_YourFirstName_47> Where YourEirstName is the student first name and 47 is the 4th and 7th digit of the student's ID. 4. Your code should send the array to the method and to get the number ofevery face occurred during the rolling of the dice and output it. Also output two faces with equal frequency (if any). PS: Below is a sample output of the program and you are required to produce similar output format by completing the code above. How many times would you like to throw the dice: 100 Rolling the dice 100 times Dice with 1 point face: 16 Dice with 2 point face: 8 Dice with 3 point face: 17 Dice with 4 point face: 13 Dice with 5 point face: 17 Dice with 6 point face: 29 The faces with repeated frequency are: 3 and 5 How many times would you like to throw the dice: 250 Rolling the dice 250 times Dice with 1 point face: 41 Dice with 2 point face: 32 Dice with 3 point face: 48 Dice with 4 point face: 32 Dice with 5 point face: 52 Dice with 6 point face: 45 The faces with repeated frequency are: None
Task: You are required to complete the code of the program above to satisfy the following conditions: 1. Insert your name as the author 2. Write the code to roll the dice as per the number of elements in the array. 3. Upon filling all the elements of the array, you are required to call the method getFace_YourFirstName_47> Where YourEirstName is the student first name and 47 is the 4th and 7th digit of the student's ID. 4. Your code should send the array to the method and to get the number ofevery face occurred during the rolling of the dice and output it. Also output two faces with equal frequency (if any). PS: Below is a sample output of the program and you are required to produce similar output format by completing the code above. How many times would you like to throw the dice: 100 Rolling the dice 100 times Dice with 1 point face: 16 Dice with 2 point face: 8 Dice with 3 point face: 17 Dice with 4 point face: 13 Dice with 5 point face: 17 Dice with 6 point face: 29 The faces with repeated frequency are: 3 and 5 How many times would you like to throw the dice: 250 Rolling the dice 250 times Dice with 1 point face: 41 Dice with 2 point face: 32 Dice with 3 point face: 48 Dice with 4 point face: 32 Dice with 5 point face: 52 Dice with 6 point face: 45 The faces with repeated frequency are: None
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
I want a simple coding please for beginners
Fill in the blanks
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY