#include "stdafx.h"
#include <iostream>
using namespace std;
class player {
private:
int health;
int speed;
public:
void increaseHealth()
{
health++;
}
void decreaseHealth()
{
health--;
}
}
class zomb {
public:
int health1;
int health2;
};
int main() {
player t;
t.increaseHealth();
t.decreaseHealth();
return 0;
char f;
cin>>f;
}
#include "stdafx.h"
#include <iostream>
using namespace std;
class player {
private:
int health;
int speed;
public:
void increaseHealth()
{
health++;
}
void decreaseHealth()
{
health--;
}
}
class zomb {
public:
int health1;
int health2;
};
int main() {
player t;
t.increaseHealth();
t.decreaseHealth();
return 0;
char f;
cin>>f;
}
#include "stdafx.h"
#include<iostream>
using namespace std;
class Player
{
public:
int health;
int speed;
public:
void increaseHealth()
{
health++;
cout<<"my health is now "<<health;
}
void decreaseHealth()
{
health--;
cout<<"my health is now "<<health;
}
void increaseSpeed()
{
speed++;
cout<<"my speed is now "<<speed;
}
void decreaseSpeed()
{
speed--;
cout<<"my speed is now "<<speed;
}
};
class zombies
{
public:
int health;
int speed;
public:
void increaseHealth()
{
health++;
cout<<"my health is now "<<health;
}
void decreaseHealth()
{
health--;
cout<<"my health is now "<<health;
}
void increaseSpeed()
{
speed++;
cout<<"my speed is now "<<speed;
}
void decreaseSpeed()
{
speed--;
cout<<"my speed is now "<<speed;
}
};
int main()
{
int h;
Player a;
Player b;
Player c;
Player d;
for(int j=1;j<10;j++)
{
a.health = 1;
b.speed = 1;
a.increaseHealth();
cout<<endl;
b.decreaseHealth();
cout<<endl;
c.increaseSpeed();
cout<<endl;
d.decreaseSpeed();
cin>>h;
}
return 0;
char f;
cin>> f;
}
#include "stdafx.h"
#include<iostream>
using namespace std;
class Player
{
public:
int health;
int speed;
public:
void increaseHealth()
{
health++;
cout<<"my health is now "<<health;
}
void decreaseHealth()
{
health--;
cout<<"my health is now "<<health;
}
void increaseSpeed()
{
speed++;
cout<<"my speed is now "<<speed;
}
void decreaseSpeed()
{
speed--;
cout<<"my speed is now "<<speed;
}
};
class zombies
{
public:
int health;
int speed;
public:
void increaseHealth()
{
health++;
cout<<"my health is now "<<health;
}
void decreaseHealth()
{
health--;
cout<<"my health is now "<<health;
}
void increaseSpeed()
{
speed++;
cout<<"my speed is now "<<speed;
}
void decreaseSpeed()
{
speed--;
cout<<"my speed is now "<<speed;
}
};
int main()
{
int h;
Player a;
Player b;
Player c;
Player d;
for(int j=1;j<10;j++)
{
a.health = 1;
b.speed = 1;
a.increaseHealth();
cout<<endl;
b.decreaseHealth();
cout<<endl;
c.increaseSpeed();
cout<<endl;
d.decreaseSpeed();
cin>>h;
}
return 0;
char f;
cin>> f;
}
#include<iostream>
using namespace std;
class Player
{
public:
int health;
int speed;
public:
void increaseHealth()
{
health++;
cout<<"my health is now "<<health;
}
void decreaseHealth()
{
health--;
cout<<"my health is now "<<health;
}
void increaseSpeed()
{
speed++;
cout<<"my speed is now "<<speed;
}
void decreaseSpeed()
{
speed--;
cout<<"my speed is now "<<speed;
}
};
class zombies
{
public:
int health;
int speed;
public:
void increaseHealth()
{
health++;
cout<<"my health is now "<<health;
}
void decreaseHealth()
{
health--;
cout<<"my health is now "<<health;
}
void increaseSpeed()
{
speed++;
cout<<"my speed is now "<<speed;
}
void decreaseSpeed()
{
speed--;
cout<<"my speed is now "<<speed;
}
};
int main()
{
int h;
Player a;
Player b;
Player c;
Player d;
a.health = 1;
b.health = 0;
c.speed = 0;
d.speed = 0;
for(int j=1;j<10;j++)
{
a.increaseHealth();
cout<< endl;
b.decreaseHealth();
cout<< endl;
c.increaseSpeed();
cout<< endl;
d.decreaseSpeed();
cout<< "\n\n" << endl;
cin>>h;
}
return 0;
char f;
cin>> f;
}
#include<iostream>
using namespace std;
class Player
{
public:
int health;
int speed;
public:
void increaseHealth()
{
health++;
cout<<"my health is now "<<health;
}
void decreaseHealth()
{
health--;
cout<<"my health is now "<<health;
}
void increaseSpeed()
{
speed++;
cout<<"my speed is now "<<speed;
}
void decreaseSpeed()
{
speed--;
cout<<"my speed is now "<<speed;
}
};
class zombies
{
public:
int health;
int speed;
public:
void increaseHealth()
{
health++;
cout<<"my health is now "<<health;
}
void decreaseHealth()
{
health--;
cout<<"my health is now "<<health;
}
void increaseSpeed()
{
speed++;
cout<<"my speed is now "<<speed;
}
void decreaseSpeed()
{
speed--;
cout<<"my speed is now "<<speed;
}
};
int main()
{
int h;
Player a;
Player b;
Player c;
Player d;
a.health = 1;
b.health = 0;
c.speed = 0;
d.speed = 0;
for(int j=1;j<10;j++)
{
a.increaseHealth();
cout<< endl;
b.decreaseHealth();
cout<< endl;
c.increaseSpeed();
cout<< endl;
d.decreaseSpeed();
cout<< "\n\n" << endl;
cin>>h;
}
return 0;
char f;
cin>> f;
}
#include "stdafx.h"
#include <iostream>
using namespace std;
class player {
private:
int health;
int speed;
public:
void increaseHealth()
{
health++;
}
void decreaseHealth()
{
health--;
}
}
class zomb {
public:
int health1;
int health2;
};
int main() {
player t;
t.increaseHealth();
t.decreaseHealth();
return 0;
char f;
cin>>f;
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.