<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>抹茶あいすのブログ</title>
<link>https://ameblo.jp/mattya1412/</link>
<atom:link href="https://rssblog.ameba.jp/mattya1412/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>授業（プログラミング、c言語）の復習を載せます</description>
<language>ja</language>
<item>
<title>[C言語]高さを入力し&quot;*&quot;を階段状に表示</title>
<description>
<![CDATA[ <p>#include &lt;stdio.h&gt;<br><br>int main(void)<br>{<br><br><br>&nbsp;&nbsp; &nbsp;int i;<br><br>&nbsp;&nbsp; &nbsp;scanf_s("%d", &amp;i);<br><br>&nbsp;&nbsp; &nbsp;for (int n = 0; n &lt; i; n++)<br>&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;for (int j = 0; j &lt; n + 1; j++)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;printf("*");<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;printf("\n");<br>&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;return 0;<br>}</p><p>&nbsp;</p><p>実行結果</p><p>４の場合</p><p><a href="https://stat.ameba.jp/user_images/20210524/15/mattya1412/b8/e9/p/o0171010714946763879.png"><img alt="" height="107" src="https://stat.ameba.jp/user_images/20210524/15/mattya1412/b8/e9/p/o0171010714946763879.png" width="171"></a></p><p>7の場合</p><p><a href="https://stat.ameba.jp/user_images/20210524/15/mattya1412/dc/87/p/o0261017914946764085.png"><img alt="" height="179" src="https://stat.ameba.jp/user_images/20210524/15/mattya1412/dc/87/p/o0261017914946764085.png" width="261"></a></p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>
]]>
</description>
<link>https://ameblo.jp/mattya1412/entry-12676419627.html</link>
<pubDate>Mon, 24 May 2021 15:03:08 +0900</pubDate>
</item>
<item>
<title>九九の表</title>
<description>
<![CDATA[ <p>#include &lt;stdio.h&gt;<br><br>int main(void)<br>{<br><br>&nbsp;&nbsp; &nbsp;for (int i = 1; i &lt; 10; i++)<br>&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;for (int j = 1; j &lt; 10; j++)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;printf("%3d", i * j); //printfの%dのところを%3dとやると揃う<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;printf("\n");<br>&nbsp; &nbsp;&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>　　　実行結果</p><p><a href="https://stat.ameba.jp/user_images/20210523/00/mattya1412/de/21/p/o0393027114945966893.png"><img alt="" height="271" src="https://stat.ameba.jp/user_images/20210523/00/mattya1412/de/21/p/o0393027114945966893.png" width="393"></a></p>
]]>
</description>
<link>https://ameblo.jp/mattya1412/entry-12676117711.html</link>
<pubDate>Sun, 23 May 2021 00:05:33 +0900</pubDate>
</item>
</channel>
</rss>
