If-Else

Technology / Programming / If-Else: An if is used with a comparison operator and tests whether a certain condition is true or false: if (x > 50) { // do something here } else { // do something if x isn't > than 50 }

Links
Home
Glossary
Thesaurus