CPP
cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <iostream>
#include <string>
using namespace std;
//Declaring all the functions
void test(int a, int b);
int test2(int x);
int DATAp(int a, int b, int c, int z);
//Player 1 variable declaration (global variables)
string Player1Name="";
int P1JumpQ=0;
int P1shootingQ=0;
int P1dribleQ=0;
;
int main(){
//Player 2 variable declaration
string Player2Name="Othi";
int P2JumpQ=75;
int P2shootingQ=45;
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run