æ¨æ¥ã®ã¨ã³ããªã¼ã§ãå°å¦çã¬ãã«ã®ç®è¡è¨ç®ãããä»®æ³æ©æ¢°RAC0ï¼Rudimentary Arithmetic Calculator Level-0ï¼ã示ãã¾ãããããã¸ã貧弱ãªä»®æ³æ©æ¢°ã§ããããæ©è½ãæ¡å¼µãããã¨ã¯æãã®ã§ããããã®åã«ãRAC0ç¨ã®é«ç´è¨èªãä½ã£ã¦ããã¾ãããã é«ç´è¨èªã¨ãã£ã¦ãã1 + 2, (5 - 2)*4 ã®ãããªç®è¡å¼ï¼arithmetic expressionï¼ã§ãã詳ããä»æ§ãæ¸ãã¦ã次ã®ç¨åº¦ã å®æ°ãªãã©ã«ã¯ã符å·ãªãã®æ´æ°ã03 ã®ããã«å
è¡ãã0ããã£ã¦ããã*1ã è² ã®æ°ã表ããªãã©ã«ããªãã®ã§ã(0-3) ã®ããã«å¼ãç®ã§ä»£ç¨ã æ¼ç®è¨å·ã¯ã+, -, *, /, % ã®5種é¡ãããããäºé
ä¸ç½®æ¼ç®åã *, /, % ã¯ã+, - ããåªå
ãããã 丸æ¬å¼§ã使ã£ã¦ãå¼ã®ã°ã«ã¼ãï¼ã¾ã¨ã¾ãï¼ãä½ã£ã¦ããã åãåªå
é ä½ã®æ¼ç®ã¯å·¦çµåçãä¾ãã°ã
{{#tags}}- {{label}}
{{/tags}}