You are on page 1of 2

int amount = 100;

if (amount === 1000){


print("amount is now 1000");F
} else {
print("amount is not 1000");T

-----------------------------------------------------------------------------------
--------------

int amount = 700

if (amount > 1000){


print("your amount is not valid");T
} else {
print("your transaction is sucessfull");F
}

-----------------------------------------------------------------------------------
--

int amount = 7000

if (amount < 1000){


print("your transaction is sucessfull");T
} else {
print("your amount is not valid");F
}

-----------------------------------------------------------------------------------
--

int age = 15

if (age > 11){


print("wellcome to my shop");T
} else {
print("your age is not valid");F
}
--------------------------------------------------------
int age = 15

if (age === 20){


print("wellcome to my shop");F
} else {
print("your age is not valid");T
}
----------------------------------------------------------------------------

int Lift = 10

if (Lift === 20){


print("Start");F
} else {
print("overLoad");T
}
-------------------------------
int Lift = 10

if (Lift === 09){


print("Start");T
} else {
print("overLoad");F
}

--------------------------------------------------
string F = ("Female");

if ("f === "Male"){


print("Male are not allowed");T
} else {
print("Wellcome");F
}
-----------------------------------------------

string Password = ("Nadir");

if ("password === "naeem"){


print("Wellcome");F
} else {
print("invalid password")T
}

You might also like