Question
Design and implement a C++ class called Module that handles information regarding your assignments for a specific module. Think of all the things you would
Design and implement a C++ class called Module that handles information regarding your assignments for a specific module. Think of all the things you would want to do with such a class and write corresponding member functions for your Module class. Your class declaration should be well-documented so that users will know how to use it. Write a main program that does the following:
· Declare an array of all your modules. The elements of the array must be of type Module.
· Initialise the array with the modules you are registered for. Initialise each module with the assignment marks you have obtained for the module (or would like to obtain for the module).
· Determine your semester mark for each module: the first assignment contributes 30% and the second assignment 70%. Display the semester marks.
· Adjust the marks for Assignment 2 for COS1512 with +5%.
· Determine your semester mark for COS1512 again to see what effect the update had.
· Display an updated list of your semester marks for all the modules you are registered for.
Step by Step Solution
3.42 Rating (149 Votes )
There are 3 Steps involved in it
Step: 1
include include using namespace std class module public string nameofmodul...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started