Hello,
Does anyone here know how to set a variable value based on the output of an IF statement so that my variable value is dependent on the IF outcome?
I tried the code below but I am not getting any value outputs for varA1
double varA1:
if(condition)
{varA1 = value1}
else
{varA1 = value2}
Many thanks in advance
|