165k views
4 votes
How is h = 20 different than h < 20?

User Moid
by
4.8k points

1 Answer

2 votes

Answer:

h = 20 mean h can only be 20

h < 20 means h can only be a number that is smaller than 20, can't be exactly 20

Explanation:

h = 20

This means the variable h can only be 20; it can't be lower or higher than 20.

h < 20

This means the variable h can only be smaller than 20; this means the number can only be below 20 and can't be exactly 20.

User Sga
by
4.5k points