Lab #20 Reflection Journal

Lab #20 was the last lab part of the calculator movement and works with comparison operators. 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 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 in order 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

Popular posts from this blog

WBL Workshop #6 Interview Skills

CTE Expo Reflection Journal

Lab #12 Reflection