INTRODUCTION TO PROGRAMING II
ASSIGNMENT 2
DUE DATE 3 JULY 2023
CUTT-OFF 6 JULY 2023
This document saves your right to all the answers you need for this assignment ****
All questions are answered correctly
100%pass guaranteed ,get the document and pass your assignment
QUESTION 1
Write a program to determine the tuition fees for a student. The program should use
two overloaded functions, each named calcFees, to determine the tuition fees for a
student. Students who repeat a module pay a different fee for the modules which are
repeated. The program should first ask if the student repeats any modules. If the
student repeats, the program should ask for the number of modules which are
repeated. One of the overloaded functions should accept the number of modules
enrolled for the first time and the fee for those modules as arguments (parameters),
while the other function accepts arguments for the number of modules enrolled for
the first time and the fee for those modules as well as the number of modules
repeated and the fee for those modules. Both functions should return the tuition fees
for the student.