Skip to main content
1-Visitor
April 28, 2014
Solved

If "blank greater than blank" and "blank greater than blank"

  • April 28, 2014
  • 1 reply
  • 1205 views

I have a question regarding if statements. I am trying to program the following:

If x>y "and" x>z, then x=c.

Can anyone help me with this? I was thinking an "also if" statement would work, but I don't think I'm entering it right. Does "also if" only return the value if either expression is true?

Thanks in advance for any help!

Dustin

Best answer by Fred_Kohlhepp

Ther is a boolean "and" operator that allows you to combine the two comparisons.

1 reply

dsweet1-VisitorAuthor
1-Visitor
April 28, 2014

Correction, what I'm trying to do is

if c>y "and" c>x, then z=c.

Thanks!

23-Emerald I
April 28, 2014

Ther is a boolean "and" operator that allows you to combine the two comparisons.