for (int=0;i<infinity;i++)
{
tsm signNewPlayers;
tsm lose;
tsm getChmistry;
tsm lose;
tsm drop;
}
for (int=0;i<infinity;i++)
{
tsm signNewPlayers;
tsm lose;
tsm getChmistry;
tsm lose;
tsm drop;
}
You're over complicating it.
while(!winning) {
dropPlayerWhoIsntTheIssue();
signNewPlayerWhoWontFixTheIssue();
}
Unfortunately, they haven't been able to ever leave the loop. Also, the team has never had good chemistry.
Class name must starts with uppercase
tsm => Tsm
if signNewPlayers is a function/ method of class Tsm
then
Tsm.signNewPlayers();
Still no errors???????
nope thats just part of the code, pay me 2k and i will give u full source code
i told u thats part of the code, who know i may declared a variable name infinity ++ thats a joke i dont have to write an actual working code
There's no value you can initialize a variable with that will keep iterating that loop infinitely
Either use a while loop or use for(int i=0; i>=0; i++)
Plus if you wanna make a joke at least make it accurate SMH
it is a joke on vlr site what part u dont understand, i know that ppl try to showoff by showing ppl mistake but this is a fuckin vlr it is not LinkedIn , recruiter will not pick u for your good comment
String TSM, fans;
boolean victory;
String opponent = "**enter team here**";
if (TSM == victory){
fans = opponent + " sucks";
System.out.println(fans);
}
else {
fans = "DISBAND";
System.out.println(fans);
}Here's some code from my 1Head year of Java
Y'all making it too complicated. Here's the true source code of TSM. They use javascript.
function tsmSourceCode() {
    function matchResult() {
        let wonOrLost = prompt("Please enter the result");
        return new Promise(function (resolve, reject) {
            console.log("Processing the result")
            setTimeout(() => {
                if (wonOrLost === "won") {
                    resolve("Team was not changed");
                }
                else {
                    reject("Team was changed");
                }
            }, 1500);
        })
    }
    async function tsmDecision() {
        try {
            let result = await matchResult();
            ifWon(result);
        }
        catch (err) {
            ifLose(err);
        }
    }
    tsmDecision();
}
tsmSourceCode();
function ifWon(res) {
    console.log(res);
}
function ifLose(rej) {
    console.log(rej)
}