If steel = Chamber
Then t1 = win
Else t1 = lose
Sorry I didn't take Coding/Ip as a subject 🥺
Pistol Won | Eco (won) | $ (won) | $$ (won) | $$$ (won) | |
---|---|---|---|---|---|
T1
|
1
|
2 (1)
|
1 (1)
|
3 (2)
|
10 (9)
|
UnitedERA
|
1
|
4 (1)
|
3 (0)
|
3 (0)
|
6 (2)
|
(BANK)
T1
UnitedERA
(BANK)
|
1
0.6k
0.2k
|
2
3.7k
$$
8.3k
|
3
16.5k
$$
$$$
0.4k
|
4
3.0k
$$$
$
11.9k
|
5
14.9k
$$$
$$$
0.8k
|
6
27.6k
$$$
$
8.3k
|
7
31.6k
$$$
$$$
1.3k
|
8
24.0k
$$$
$
11.1k
|
9
28.0k
$$$
$$$
4.5k
|
10
20.3k
$$$
$$$
2.9k
|
11
21.2k
$$$
10.3k
|
12
24.6k
$$$
$$$
2.5k
|
(BANK)
T1
UnitedERA
(BANK)
|
13
0.5k
0.6k
|
14
3.7k
$
$$
3.2k
|
15
8.9k
$$
$$
0.4k
|
16
19.6k
$$$
$$
0.7k
|
Pistol Won | Eco (won) | $ (won) | $$ (won) | $$$ (won) | |
---|---|---|---|---|---|
T1
|
1
|
2 (1)
|
1 (1)
|
3 (2)
|
10 (9)
|
UnitedERA
|
1
|
4 (1)
|
3 (0)
|
3 (0)
|
6 (2)
|
4evrDuke [#1]If steel = Chamber
Then t1 = win
Else t1 = loseSorry I didn't take Coding/Ip as a subject 🥺
#include <iostream>
#include <time.h>
#include <string>
using namespace std;
int main()
{
string Steel;
string Chamber;
string notChamber;
srand(time(NULL));
int randNum = rand()%2;
if (randNum == 0){
Steel = Chamber;
cout << "win";
}
else {
Steel = notChamber;
cout << "lose";
}
}
SHEEPMAN69 [#2]#include <iostream>
#include <time.h>
#include <string>using namespace std;
int main()
{
string Steel;
string Chamber;
string notChamber;srand(time(NULL));
int randNum = rand()%2;
if (randNum == 0){
Steel = Chamber;
cout << "win";
}
else {
Steel = notChamber;
cout << "lose";
}
}
pub struct T1Roster {
pub curry_agent: Option<String>,
pub thwifo_agent: Option<String>,
pub steel_agent: String,
pub seven_agent: Option<String>,
pub pwny_agent: Option<String>,
}
fn main() {
let t1_vs_ue_roster = T1Roster {
curry_agent: None,
thwifo_agent: None,
steel_agent: "Chamber".to_string(),
seven_agent: None,
pwny_agent: None
};
if t1_vs_ue_roster.steel_agent == "Chamber".to_string() {
println!("{}", true)
}
else {
println!("{}", false)
}
}
SHEEPMAN69 [#2]#include <iostream>
#include <time.h>
#include <string>using namespace std;
int main()
{
string Steel;
string Chamber;
string notChamber;srand(time(NULL));
int randNum = rand()%2;
if (randNum == 0){
Steel = Chamber;
cout << "win";
}
else {
Steel = notChamber;
cout << "lose";
}
}
a bit cleaner
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>
struct Player {
//TODO: Everything else
bool isChamber;
};
int main() {
struct Player steel;
srand(time(0));
steel.isChamber = rand() % 2 == 0;
printf(steel.isChamber ? "Win.\n" : "Lose.\n");
}