'Print
'Print
'a = 3: Print "value of a = "; a
'b = 1: Print "value of b = "; b
'Print "NOTE: A is Greater than B.....so if number A = 3 and next number B is less than A (at 1 in this case), then this is a TRENDING DOWN situation"
'Print " Equation is 'If a < b And b > 1 Then c = (a<b) Imp (b>1)' "
'Print
'If a < b And b > 1 Then c = (a < b) Imp (b > 1)
'If c = -1 Then c$ = "Trending UP"
'If c = 0 Then c$ = "Trending Down"
'Print
'Print "Result is "; c$;
'Sleep
'If c$ = "Trending Down" Then Print " ... Correct Result" Else Print " ... Incorrect Result"
'Sleep
'Print
'Print
'a = 1: Print "value of a = "; a
'b = 8: Print "value of b = "; b
'Print
'Print "NOTE: A is Less than B.....so if number A = 1 and next number B is greater than 1 (at 8 in this case), then this is a TRENDING UP situation"
'Print " Equation is 'If a < b And b > 1 Then c = (a<b) Imp (b>1)' "
'If a < b And b > 1 Then c = (a < b) Imp (b > 1)
'If c = -1 Then c$ = "Trending UP"
'If c = 0 Then c$ = "Trending Down"
'Print
'Print "Result is "; c$;
'Sleep
'If c$ = "Trending UP" Then Print " ... Correct Result" Else Print " ... Incorrect Result"
''Sleep
'Sleep
'Print
'Print
'a = 1: Print a; " = value of a"
'b = 1: Print b; " = value of b"
'Print "NOTE: A is Equal B.....so if number of A = 1 and next number of B is equal to 1 (as in this case), then this is TRENDING Steady but as Steady is not a choice and is NOT Down then TRENDING UP is the answer"
'Print " Equation is 'If a < b And b > 1 Then c = (a<b) Imp (b>1)' "
'If a < b And b > 1 Then c = (a < b) Imp (b > 1)
'If c = -1 Then c$ = "Trending UP"
'If c = 0 Then c$ = "Trending Down"
'Print
'Print "Result is "; c$;
'Sleep
'If c$ = "Trending UP" Then Print " ... Correct Result" Else Print " ... Incorrect Result"
'Sleep
'Print
'Print
'a = 8: Print "value of a = "; a
'b = 1: Print "value of b = "; b
'Print
'Print "NOTE: A is Greater than B.....so if number A = 8 and next number B is less than A (at 1 in this case), then this is a TRENDING Down situation"
'Print " Equation is 'If a < b And b > 1 Then c = (a<b) Imp (b>1)' "
'If a < b And b > 1 Then c = (a < b) Imp (b > 1)
'If c = -1 Then c$ = "Trending UP"
'If c = 0 Then c$ = "Trending Down"
'Print
'Print "Result is "; c$;
'Sleep
'If c$ = "Trending Down" Then Print " ... Correct Result" Else Print " ... Incorrect Result"
Print " New IMP test it has result False and Trending down";
" mode "; m$
ImpAB 0, 1, m$ ' True Imp False --> False
Print " New IMP test it has result True and Trending up";
" mode "; m$
ImpAB 3, 1, m$ ' False Imp False --> True
Print " New IMP test it has result True and Trending up";
" mode "; m$
ImpAB 3, 4, m$ ' True Imp True --> True
Print " New IMP test it has result True and Trending up";
" mode "; m$
ImpAB 3, 2, m$ ' False Imp True --> True
Print "NOTE: A is Less than B....." Print " the Equation 'If a < b And b > 1 Then c = (a<b) Imp (b>1)' is never executed " Print "NOTE: A is Greater than B.....and with both if B>1 both B<1 IMP gives True " Print " the Equation 'If a < b And b > 1 Then c = (a<b) Imp (b>1)' is True " Print " the Equation 'If a < b And b > 1 Then c = (a<b) Imp (b>1)' is never executed " If Mode
= "Dimster" Then Print " so the condition Trending Down cannot be reached!" c = 99 ' flag of initialization
If c
= -1 Then c$
= "Trending UP" If c
= 0 Then c$
= "Trending Down"