Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write it in C++ language, thank you. I will upvote. PART B (60 MARKS) QUESTION 1 UiTM Cawangan Perak is organizing a bowling competition.

image text in transcribed

Please write it in C++ language, thank you. I will upvote.

PART B (60 MARKS) QUESTION 1 UiTM Cawangan Perak is organizing a bowling competition. In this competition, each bowler will play in two rounds. You are required to write a complete C++ program to process the result of the bowling competition. Your program should include the following tasks: Read the ID of the bowlers, the score of the first round and the score of the second round and store the data in the arrays ID, scorel and score2 respectively. Reading the input continues until the user enters appropriate input to stop it. Find and display the ID of all the bowlers who improve their score in the second round Calculate and display the average score for each round Find and display the ID of the winner of the competition, which is determined from the total score of the first round and the second round (30 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

Students also viewed these Databases questions