<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>B-CHAN</author_name>
  <author_url>https://blog.hatena.ne.jp/B-CHAN/</author_url>
  <blog_title>非天マザー by B-CHAN</blog_title>
  <blog_url>https://www.b-chan.jp/</blog_url>
  <categories>
    <anon>プログラム</anon>
  </categories>
  <description>指定した回数だけ繰り返す 今回は、JavaScriptの学習です。 ただし、アルゴリズムの話なので、JavaScriptだけに限らず、あらゆるプログラミング言語にも適用できます。 ボクが単に、感心したので、備忘録として書いておきますね。 次のコードです。 HTML &lt;input type=&quot;number&quot; value=&quot;5&quot; id=&quot;def&quot; max=100 min=1&gt;&lt;button onclick =&quot;count()&quot;&gt;押す&lt;/button&gt;&lt;p id=&quot;number&quot;&gt;&lt;/p&gt; JavaScript var num = 1; function count() { var total = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.b-chan.jp%2Fentry%2Fprogramming%2Fremainder&quot; title=&quot;ifを使わずに指定した回数だけカウントを繰り返すアルゴリズム - 非天マザー by B-CHAN&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/51Fh3f8za4L._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-06-06 00:30:00</published>
  <title>ifを使わずに指定した回数だけカウントを繰り返すアルゴリズム</title>
  <type>rich</type>
  <url>https://www.b-chan.jp/entry/programming/remainder</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
