<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>program-shoshinsya</author_name>
  <author_url>https://blog.hatena.ne.jp/program-shoshinsya/</author_url>
  <blog_title>auの日記</blog_title>
  <blog_url>https://program-shoshinsya.hatenablog.com/</blog_url>
  <categories>
    <anon>C言語</anon>
  </categories>
  <description>auです。 今回はC言語でのwhile文の書き方を調べてみました。 また、Pythonの書き方と比べてみました。 while文は、ある条件がTrue(合っている)場合に処理を繰り返します。ずっと繰り返すと無限ループとなってしまい、意図しないことが起きる場合もります。そのために「continue」「break」を使います。 C言語でのwhile文の書き方 書き方は while(条件式) { 処理; } となります。 実際に書いてみます。 #include&lt;stdio.h&gt; int main(){ int i; i = 0; while(i &lt; 10) { printf(&quot;%d\n&quot;, i); i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fprogram-shoshinsya.hatenablog.com%2Fentry%2F2018%2F05%2F03%2F225935&quot; title=&quot;C言語でwhile文 - auの日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-03 22:59:35</published>
  <title>C言語でwhile文</title>
  <type>rich</type>
  <url>https://program-shoshinsya.hatenablog.com/entry/2018/05/03/225935</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
