Question: COMP 1 6 0 1 , Assignment 3 : Analysis of 2 0 2 4 PlayWhe DataPart ( 5 ) : - - > About

COMP 1601, Assignment 3: Analysis of 2024 PlayWhe DataPart (5):--> About to read PlayWhe data ...1072 PlayWhe drawings read from file.Part (6):The number/s that played the most (38) times:116The number/s that played the least (21) times:22Part (7):Frequency of occurrence of each number:1: |**************************************2: |*********************3: |*****************************4: |***********************************5: |***************************6: |*******************************7: |**************************8: |*************************9: |********************************10: |************************11: |************************12: |***************************13: |********************************14: |************************************15: |*********************************16: |**************************************17: |*************************18: |*********************************19: |*********************************20: |***********************************21: |******************************22: |***************************23: |******************************24: |****************************25: |****************************26: |***********************************27: |*******************************28: |**************************29: |*********************************30: |************************31: |*************************************32: |***************************33: |****************************34: |**************************35: |****************************36: |******************************Part (8):What month and number do you want to check frequency? 13636 was drawn 7 times in January.Part (9):What month and number do you want to check for Megaball? 13636 was drawn 7 times in January.Megaball: 4No Megaball: 33Part (10):What number do you want to check for Megaball from all drawings? 36Month Number of Drawings============================January 4February 2March 1April 1May 3June 1July 0August 1September 1October 0November 0Part (11):What month and day of draw do you want results for? 11Drawings for Day 1 in January:Morning -36(Megaball)Midday -16Afternoon -31Evening -33(Megaball)Part (12):Calculating winnings if number is played ...What is the bet on PlayWhe? 5.00What is the bet on the Megaball? 5.00Play Whe winnings: 130Megaball winnings: 450Total winnings if Megaball is played: 580--> End of Program
Write a c++ code for this as a y1 comp sci student

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!