以下是我需要使用jquery完成的逻辑步骤:
x
是从输入值(input.value())中获取的两位数字(整数)。If var x is **not** 33 or 44
Convert this 2 digit number to string;
split the string in 2 parts as number;
Add these 2 values until they reduce to single digit;
Return var x value as this value;
Else
Return var x value literally as 33 or 44 whatever is the case;
谢谢!