Assignment 2 - Minor change on printed out getHistory
Hi students,
There is a minor change that needed in printed out format of getHistory. The order should start from order_counter - executed_list.size instead of order_counter.
The description should be as following:
In getHistory command, the executed_order printed out should start from order_counter - executed_list.size meanwhile there is no order number for the outstanding_collection. Ex:
executed_list=(“deposit 100”, “addInterest 10”);
outstanding_collection=(“deposit -50”, “addInterest 5”);
order_counter=5;
getHistory result:
Executed_list
3. deposit 100
4. addInterest 10
Publisert 19. okt. 2018 12:48
- Sist endret 19. okt. 2018 12:48