xxxxxxxxxx
18
let mtaCard = 2;
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
if (mtaCard >= 2.75) {
text("Go! You're remaining fund is" + mtaCard, 10, 30);
} else if (mtaCard < 2.75) {
text("insufficient fund! You're remaining fund is",10, 30);
}
}