Commit 0a8263e2 authored by Allen B. Doelue's avatar Allen B. Doelue

Upload New File

parent 8fe64228
#include <iostream>
using namespace std;
#include "Player.h"
int main()
{
Player p1; //default player
p1.displayName(); //default name is CPU
cout<<"is rank "<<p1.getRank()<<endl; // default rank is 1
cout<<endl;
Player p2("Cameron", 6);
p2.displayName();
cout<<"is rank "<<p2.getRank()<<endl;
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment