下面是我想要做的逻辑,有人帮我用C#解决这个问题。strMessage="You can try again";Response.write(strMessage);
当i的值为1、2、7或5时,“You won”,当i的值为6、8、10或3时,strMessage="You can strMessage= try“
目标是返回字符串中出现的3的倍数。我只需要担心3,6,9的倍数,并使用字典。例如,0939639将返回9,因为它出现了3次,而其他3的倍数出现的次数少于9。下面是我的代码: # Turning the number into a string
# SettingGets the maximum value and returns the