ãªãããã3åã«1ååºåããã ãã®ç°¡åãªããã°ã©ã ã®ãä»äºã£ã¦ãããããã if ( (++counter % 3) == 0) printf("Fizz\n"); ããã£ã¦æå¤ã¨é£ãããã ããã â¦â¦ãªãã¦ãã¨ãè¨ãã¨ãããããã天ä¸ã®ããããããã¤ãã«é ãããããªã£ãããã¨ãè¨ãããã ãããã©ãããå®éãã¡ã®ä»äºã§ãã£ã話ã§ããã®ã³ã¼ããåå ã§ã客ããã¨å¤§ããªãã©ãã«ã«ãªã£ãã ãã¾ãå ·ä½çã«ã¯è¨ããªãã®ã§ãã¡ãã£ã¨å¥ã®ãã®ã«ç½®ãæãã¦è©±ããã©ãããã¯ãã²ããã®é¤ããããã°ã©ã (ä»®)ã ã£ãããã ä¸ã®ããã°ã©ã ã¯ã3åã«1åã ãã©ããã®ã½ããã«ã¯ãNæéã«1åãé¤ããããã¸ãã¯ãæ¸ãã¦ãã£ãã if ( (++counter % N) == 0) printf("é¤ããã§ã¼\n"); ãªãããããªæããªãããã§Nã®å¤ã¯ãUI(ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¼ã¹)ã§èª¿æ´ã§ããä½ãã«ãã¦ãã£ããä¸åº¦
{{#tags}}- {{label}}
{{/tags}}