Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello,
I am new to Mathcad. I am using MATHCAD 5.0.0.0. I am trying to define a very simple function described below. Any help will be really appreciated.
Say x=2, y=3
if z=4
x=x and y=y
else
x=y and y=x
I tried defining a third variable. But was not able to do it inside if statement.
Thanks
Solved! Go to Solution.