#include "stdafx.h"
#include <iostream>
using namespace std;
class Soldier
{
private:
int health;
int strenth;
public:
Soldier(int startHealth,int startStrenth):
health(startHealth),
strenth(startStrenth)
{
//nothing yet
}
int startHealth()
{
health;
return 0;
}
int startStrenth()
{
strenth ;
return 0;
}
int attack()
{
cout<<"**Soldier aims down the barrel of his MP5K and lets off 20 BULLETS FULLY AUTO ** he attacked with"<<startStrenth();
return 0;
}
};
int main()
{
Soldier bob(7,9);
bob.attack();
int h;
cin>>h;
return 0;
char f;
cin>>f;
}
#include <iostream>
using namespace std;
class Soldier
{
private:
int health;
int strenth;
public:
Soldier(int startHealth,int startStrenth):
health(startHealth),
strenth(startStrenth)
{
//nothing yet
}
int startHealth()
{
health;
return health;
}
int startStrenth()
{
strenth;
return strenth;
}
int attack()
{
cout<<"**Soldier aims down the barrel of his MP5K and lets off 20 BULLETS FULLY AUTO ** he attacked with"<<startStrenth();
return 0;
}
};
int main()
{
Soldier bob(7,9);
bob.attack();
int h;
cin>>h;
return 0;
char f;
cin>>f;
}
#include <iostream>
using namespace std;
class soldier
{
private:
Int health;
int strenth;
public:
Soldier(int starthealth,int startstrenth):
Health(starthealth),
strenth(startstrenth)
{
//nothing yet
}
int starthealth()
{
health;
return health;
}
int startstrenth()
{
strenth;
return strenth;
}
int attack()
{
cout<<"**soldier aims down the barrel of his mp5k and lets off 20 bullets fully auto ** he attacked with"<<startstrenth();
return 0;
}
};
int main()
{
soldier bob(7,9);
bob.attack();
int h;
cin>>h;
return 0;
char f;
cin>>f;
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.