100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

COS2614 Assignment 3 2023 [Link to whole project on google drive]

Rating
4.0
(1)
Sold
14
Pages
31
Uploaded on
12-08-2023
Written in
2023/2024

Solution to Assignment 3 Solution to Q1-BankAccount, Q2-TrafficLight, Q3-StockRecorder. This document contains all the coding needed to complete this assignment (class, header and img files). The last page contains a google drive link to the entire project in Qt, just download test and play around. All requirements have been fulfilled and all 3 projects are 100% compiling!!! Guaranteed very good marks!

Show more Read less
Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
August 12, 2023
File latest updated on
August 30, 2023
Number of pages
31
Written in
2023/2024
Type
Other
Person
Unknown

Subjects

Content preview

COS2614
Programming: Contemporary Concepts
Assignment 3 & 4 / Test 2 | Semester 1 & 2 | 2023


✓ This document contains all the necessary code and screenshots (output) for all
3 questions.
✓ Assignment 3: Q1 –BankAccount (Console) | Q2 – TrafficLight (GUI)
✓ Assignment 4/Test 2: Q3 – StockRecorder(GUI)
✓ For more understanding the last page has a link to Google Drive to the entire
project in Qt. Just download and run in Qt to view and test working project.




All requirements have been fulfilled and all 3 projects are 100%
compiling!!!

, QUESTION 1: BankAccount (Console Application)
Files




Code (Header Files)
balanceenquiry.h

#ifndef BALANCEENQUIRY_H
#define BALANCEENQUIRY_H

#include "transaction.h"

class BalanceEnquiry : public Transaction {
public:
BalanceEnquiry(const std::string& dateTime);

double computeCost() const override;
};

#endif // BALANCEENQUIRY_H


deposit.h

#ifndef DEPOSIT_H
#define DEPOSIT_H

#include "transaction.h"

class Deposit : public Transaction {
private:
double m_Fee;

public:
Deposit(const std::string& dateTime, double fee);

double computeCost() const override;
std::string toString() const override;
};

#endif // DEPOSIT_H

Reviews from verified buyers

Showing all reviews
2 year ago

4.0

1 reviews

5
0
4
1
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ExcelTogether University of South Africa (Unisa)
Follow You need to be logged in order to follow users or courses
Sold
564
Member since
4 year
Number of followers
367
Documents
12
Last sold
1 month ago

4.3

70 reviews

5
48
4
11
3
4
2
1
1
6

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions