---
# System prepended metadata

title: 2023 OOP - Homework 4
tags: [2023 OOP]

---

---
tags: 2023 OOP 
---
# 2023 OOP - Homework 4
* Deadline: 12/30 - 14:00
* Upload your homework to moodle platfarm.
* Please consult with TA if you have any question.
    * FB or Email


For these three problems, put these files (.h, .cpp, .obj, .exe) into the folder named Problem1, Problem2 respectively. Also, you need to take a screenshot of results after executing and paste on your report.pdf. 

## Problem 1  (45%)
Problem1: 
* 19.9 of the textbook, p.797-798

![image](https://hackmd.io/_uploads/HkDqwLbv6.png)



## Problem 2 (45%)
* 19.10 of the textbook, p.798

![image](https://hackmd.io/_uploads/BJwE_UWvp.png)
![image](https://hackmd.io/_uploads/rJL7u8bwa.png)

:::info
確認是否扣款成功，要先考慮要領的金額與手續費(如果有的話)。
:::


## Report (10%)
Please write down your thoughts on homework in Report.doc. You can write what problem you face and how to solve it, or anything you want to say about this howework2. 

## Note 
Compress all the files (including your report and source code files), and name the compressed file as ```A1115500_hw3.zip(or .rar)``` using your student ID. Then upload the compressed file to the **moodle** platform. 

The file structure should be like following forms:
```
|-A1115500_hw4.zip (.rar)
| | p1
| | | your files(.h, .cpp, .obj)
| | p2
| | | your files(.h, .cpp, .obj)
| |-Report.pdf
| |-(And other files...)
```
or
```
|-A1115500_hw4.zip (.rar)
| |-A1105500 (Folder)
| | | Problem1
| | | | your files(.h, .cpp, .obj)
| | | Problem2
| | | | your files(.h, .cpp, .obj)
| | |-Report.pdf
| | |-(And other files...)
```

**Don't cheating**, or you will get 0 for this homework. If you can’t finish this homework before deadline, just hand in your unfinished code and report.

**Be honest with yourself.**