Question: I have to create a .dat file and c program that scores a bowling game just like the following. bowling Frame-1 Ball - 1: 10
I have to create a .dat file and c program that scores a bowling game just like the following.



bowling Frame-1 Ball - 1: 10 Congratulation It is STRIKE. . . Congratulation It is STRIKE... Congratulation! It is STRIKE. . . Congratulation! It is STRIKE. .. Congratulation! It iS STRIKE. . . Congratulation! It is STRIKE... Congratulation! It is STRIKE.. . Congratulation! It is STRIKE. . . Congratulation! It is STRIKE. . . Congratulation! It is STRIKE. .. Frame- Ball - 1 10 Frame - 3 Ball - 1: 10 Frame-4 Ball -1 10 Frame - 5 Ball 1 : 10 Frame 6 Ball - 1: 10 Frame Ball - 1: 10 Frame-8 Ball- 1: 10 Frame 9 Ball- 1 10 Frame -10 Ball - 1 10 Extra - 1 : 10 Extra - 2: 10 Frame: Ball 1: Ball 2: Score: 1 23 4 56 7 8 9 10 Xtr 10 10 10 10 10 10 10 10 10 10 10 0 0 0 0 00 0 0 0 0 10 30 60 90 120 150 180 210 240 270 300 Do more (Y/N) ? y Frame - 1 Bal1 1 : 5 Bal1 - 2:5 Not bad, it is SPARE.. . Frame 2 Ball - 1:5 Ball - 2 :5 Not bad, it is SPARE. .. Frame- 3 Ball - 1:5 Ball- 2: 5 Not bad, it is SPARE... Frame - 4 Ball - 1: 5 Ball - 2: 5 Not bad, it is SPARE. . . Frame -5 Ball- 1: 5 Ball 2 :5 Not bad, it is SPARE... Frame6 Ball - 1: 5 page 1 bowling Frame-1 Ball - 1: 10 Congratulation It is STRIKE. . . Congratulation It is STRIKE... Congratulation! It is STRIKE. . . Congratulation! It is STRIKE. .. Congratulation! It iS STRIKE. . . Congratulation! It is STRIKE... Congratulation! It is STRIKE.. . Congratulation! It is STRIKE. . . Congratulation! It is STRIKE. . . Congratulation! It is STRIKE. .. Frame- Ball - 1 10 Frame - 3 Ball - 1: 10 Frame-4 Ball -1 10 Frame - 5 Ball 1 : 10 Frame 6 Ball - 1: 10 Frame Ball - 1: 10 Frame-8 Ball- 1: 10 Frame 9 Ball- 1 10 Frame -10 Ball - 1 10 Extra - 1 : 10 Extra - 2: 10 Frame: Ball 1: Ball 2: Score: 1 23 4 56 7 8 9 10 Xtr 10 10 10 10 10 10 10 10 10 10 10 0 0 0 0 00 0 0 0 0 10 30 60 90 120 150 180 210 240 270 300 Do more (Y/N) ? y Frame - 1 Bal1 1 : 5 Bal1 - 2:5 Not bad, it is SPARE.. . Frame 2 Ball - 1:5 Ball - 2 :5 Not bad, it is SPARE. .. Frame- 3 Ball - 1:5 Ball- 2: 5 Not bad, it is SPARE... Frame - 4 Ball - 1: 5 Ball - 2: 5 Not bad, it is SPARE. . . Frame -5 Ball- 1: 5 Ball 2 :5 Not bad, it is SPARE... Frame6 Ball - 1: 5 page 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
