Professional Documents
Culture Documents
CSC404 Individual Assignment 20232
CSC404 Individual Assignment 20232
INDIVIDUAL ASSIGNMENT
Environment : You are required to do this assignment in a C++ environment as specified for
each component.
Instructions
• Your code must have a comment header consisting of the following:
/*
Name : Your full name
Sid : Your student number
Course : CSC404
Group :
Due Date : 26 May 2023 3:00 pm)
Program Description:
*/
• You are required to submit documentation in the form of a softcopy (PDF and .cpp) which
consists of:
o cover page
o source code
o output screenshot
• Students are allowed to refer to any materials (lecture notes, internet, books, source code
examples).
• Cheating is forbidden. Discussion with friends is considered cheating. Should you have
any questions, please ask your lecturer.
• If your answer is found similar to other students' answers, your lecturer deserves the right
to penalize your work. E.g., if you and the other three students have similar answers, each
of you receives 20 marks. 20 marks will be divided by 4, so each of you receives 5 marks.
In order to run the program smoothly, the organizer is hiring you as a programmer to develop
a computer program. In developing the program, you should consider each of the following:
• The user’s name, citizenship, the number of participants for each category and
distance should be entered following the respective INPUT statements. The program
will repeat until the system administrator input is “N” or ‘n’.
• Calculate the total payment for each user and the grand total for all users. [Note: USD1
= RM4].
• Count the number of adults and kids involved in the whole program.
• You are required to include at least 3 FUNCTIONS in your program.
• Write a complete C++ program and for each user generate a receipt using the format
in the following example:
THANK YOU