<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>MrRadiology</author_name>
  <author_url>https://blog.hatena.ne.jp/MrRadiology/</author_url>
  <blog_title> 学生向けプログラミング入門 | 無料</blog_title>
  <blog_url>https://mrradiology.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>[TOP] 次&gt;&gt; Visual Studioで新規プロジェクトを作り、次のcppファイルを作成して下さい。 【WhileTest1.cpp】 #include&lt;iostream&gt; int main() { int i=20, sum=0; while(i&gt;10) { sum +=i; i--; } std::cout &lt;&lt; &quot;sum = &quot; &lt;&lt; sum &lt;&lt; std::endl; } 変数iの値が１０より小さくなるまで足し算し続けるプログラムです。 このプログラムではwhile文といわれる構文を使用しています。 while( 継続条件 ) { 実行文； } while文では継続条件が真（t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmrradiology.hatenablog.jp%2Fentry%2F2020%2F03%2F31%2F094110&quot; title=&quot;C++ | 19 | while文とswitch文を使用したプログラム -  学生向けプログラミング入門 | 無料&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://cdn-ak.f.st-hatena.com/images/fotolife/M/MrRadiology/20200311/20200311155050.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-31 09:41:10</published>
  <title>C++ | 19 | while文とswitch文を使用したプログラム</title>
  <type>rich</type>
  <url>https://mrradiology.hatenablog.jp/entry/2020/03/31/094110</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
