Final Problem 4

Final Problem 4

You cannot submit for this problem because the homework's deadline is due.

Final Problem 4

Updates will be posted here

Notes

  1. Name the file as ex4.cpp.
  2. Include all classes in the cpp file(before the main function)
  3. Do not declare the attributes(such as life) in the creature classes as public members, otherwise there will be deduction.

Sample Input 1:

1 2 1
3 3 3
2 2 2
Hobbits Humans

Sample output 1:

Group size(Elves, Humans, Hobbits): 1 2 1
Life value(Elves, Humans, Hobbits): 3 3 3
DPA(Elves, Humans, Hobbits): 2 2 2
When Hobbits fights with Humans
Humans wins!

Final Exam

Not Claimed
Status
Finished
Problems
5
Open Since
2020-08-07 16:00
DDL
2020-08-07 17:45
Extension
0.0 hour(s)