Lab 20 Reflection
Brian Sherpa
4/16/19
Js Comparison Operators
Lab #20 works with comparison operators and is similar to the previous labs. This includes mathematical expressions like equal to, greater than, less than, etc. Here's how the program works, you input two numbers and then click any of the comparison operator buttons. It then returns either true or false depending on what the two numbers are. For example, if I input the first number to be 1 and the second number to be 2, and click on the greater than sign, it will return false. This is because 1 is not greater than 2. If the numbers were swapped and I input 2 as the first number and 1 as the second number and then clicked the greater than the operator, it would then return as true. This program consists of comparing, greater than, less than, greater than or equal to, less than or equal to, and not equal to. Web designers would need to know how to utilize these comparison operators in their programs to develop them to perhaps track when a variable's value may be compared to another to do something in their program. It is commonly used in if statements and can be used to make complex programs by initializing logical and mathematical concepts.
4/16/19
Js Comparison Operators
Lab #20 works with comparison operators and is similar to the previous labs. This includes mathematical expressions like equal to, greater than, less than, etc. Here's how the program works, you input two numbers and then click any of the comparison operator buttons. It then returns either true or false depending on what the two numbers are. For example, if I input the first number to be 1 and the second number to be 2, and click on the greater than sign, it will return false. This is because 1 is not greater than 2. If the numbers were swapped and I input 2 as the first number and 1 as the second number and then clicked the greater than the operator, it would then return as true. This program consists of comparing, greater than, less than, greater than or equal to, less than or equal to, and not equal to. Web designers would need to know how to utilize these comparison operators in their programs to develop them to perhaps track when a variable's value may be compared to another to do something in their program. It is commonly used in if statements and can be used to make complex programs by initializing logical and mathematical concepts.

Comments
Post a Comment