100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COS2614 Assignment 3 2023 [Link to whole project on google drive] $5.71   Add to cart

Other

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

1 review
 129 views  14 purchases
  • Course
  • Institution

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...

[Show more]
Last document update: 1 year ago

Preview 2 out of 31  pages

  • August 12, 2023
  • August 30, 2023
  • 31
  • 2023/2024
  • Other
  • Unknown

1  review

review-writer-avatar

By: lungaadam • 1 year ago

avatar-seller
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ExcelTogether. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $5.71. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

71184 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling

Recently viewed by you


$5.71  14x  sold
  • (1)
  Add to cart