Answers for "how does an if statement work"

2

if statement

if( ID = josh ):
	print("ID confirmed")
    // python
else:
	print("ID does not exist")
Posted by: Guest on May-10-2021
1

IF STATEMENT WHAT IS IT

if (X < 10) {
 print "Hello John";
}
Posted by: Guest on August-07-2020
4

if statement

if( name = 'george washington'):
	print("You have the same name as the first president of the United States")
    // python 
else:
	print("You do not have the same name as George Washington")
Posted by: Guest on May-31-2020
0

if statement

if somecommand; then
  # do this if somecommand has an exit code of 0
fi
Posted by: Guest on July-04-2021
0

how does an if statement work

//simpple reapet code


draw = function() {
var d = 11
if(d > 10) {
ellipse(200,200,200,200);
} 

}
//ellipse apiers
Posted by: Guest on March-24-2021

Browse Popular Code Answers by Language