Highlights
Task 1: Create an Athlete class with the following characteristics:
This class contains public static arrays that hold codes and descriptions of events held in a championship organised by QUT Sports Faculty. The event codes are T, B, S, R and O, corresponding to categories Tennis, Badminton, Swimming, Running and Other.
The class contains an auto-implemented property that holds a participant’s name.
The class contains fields for event code and description. The set accessor for the code assigns a code only if it is valid. Otherwise, it assigns I for Invalid. The event description is a read-only property that is assigned a value when the code is set.
Task 2: Create an Application named QutChampionship that uses the Athlete class and performs the following tasks (at least one method is required for each the following sub-tasks):
The program prompts the user for the number of participants in this year’s championship; the number must be between 0 and 40 (inclusive). The program continues to prompt the user until a valid value is entered.
The expected revenue is calculated and displayed. The cost is $30.00 per participant.
The program prompts the user for the names and event codes for each participant entered. Along with the prompt for an event code, display a list of valid categories.
Display information of all participants including the names, the event codes and the corresponding names of events.
After data entry is complete, the program displays the valid event categories and then continuously prompts the user for event codes, and displays the names of all participants in the category. Appropriate messages are displayed if the entered code is not a character or a valid code.
In completing your assignment, please take note of the following:
You should not use any C# concepts which have not been taught as part of Lectures and covered in Tutorials.
You should develop your code using simple logic.
Test your code using your own test data covering multiple data sets.
Your final code should not have any compilation/execution errors.
This Computer Science Assignment has been solved by our Computer Science Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.