OOP HomeWork
This commit is contained in:
9
oop_hw6/hw2&3/main.cpp
Normal file
9
oop_hw6/hw2&3/main.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <iostream>
|
||||
#include "monster.h"
|
||||
using namespace std;
|
||||
int main(){
|
||||
Wolf A(100, 10, 3);
|
||||
Snake B(50, 15, 5);
|
||||
Monster::fight(A,B);
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user