<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:knowledge="http://knowledge.livedoor.com/-/spec/1.0/">
<channel>
<language>ja-jp</language>
<title>livedoor ナレッジ - user - motikun</title>
<link>http://knowledge.livedoor.com/profile/23493</link>
<pubDate>Wed, 16 Dec 2009 07:58:17 +0900</pubDate>
<lastBuildDate>Sat, 27 Oct 2007 01:01:40 +0900</lastBuildDate>
<generator>http://knowledge.livedoor.com/</generator>
<description>livedoor knowledge - user - motikun</description>
<copyright>Copyright 1996- livedoor Co.,Ltd.</copyright>
<image>
    <title>livedoor knowledge</title>
    <url>http://knowledge.livedoor.com/img/cmn/noimg_m.gif</url>
    <link>http://knowledge.livedoor.com</link>
    <width>43</width>
    <height>43</height>
</image>
<item>
    <title>nは1から20  kはnの二倍だから2から40  kの数だけ*を表示させるのだから、  **（最初は二個） ・ ・ ・ ***・・・・****（最後は40個）  になりますよね。     n = 1の時、 k =　2だよね。 for (i = 1; i &amp;lt;= k; i +=</title>
    <link>http://knowledge.livedoor.com/29750#answer86324</link>
    <description>nは1から20

kはnの二倍だから2から40

kの数だけ*を表示させるのだから、

**（最初は二個）
・
・
・
***・・・・****（最後は40個）

になりますよね。




n = 1の時、
k =　2だよね。
for (i = 1; i &amp;lt;= k; i += 1) {
printf(&amp;quot;*&amp;quot;);}
の部分で二個分*を表示させます。

同じように
n = 2の時、
k=4なので四個分表示。

で、
for (n = 1; n &amp;lt;= 20; n += 1) 
なのでnは20まで。
つまりｋは４０まで。
つまり40個まで*を表示させます。</description>
    <pubDate>Sat, 27 Oct 2007 01:01:40 +0900</pubDate>
    <guid isPermaLink="true">http://knowledge.livedoor.com/29750#answer86324</guid>
    <author></author>
    <category domain="http://knowledge.livedoor.com/category/101006004">C・C++・C#</category>
    <knowledge:feed type="answer">
        <knowledge:authorId>21789</knowledge:authorId>
        <knowledge:authorLink>http://knowledge.livedoor.com/profile/21789</knowledge:authorLink>
        <knowledge:authorIcon>http://knowledge.livedoor.com/img/my/profile_img.gif</knowledge:authorIcon>
        <knowledge:authorThumbnail>http://knowledge.livedoor.com/img/cmn/noimg_m.gif</knowledge:authorThumbnail>
    </knowledge:feed>
</item>
<item>
    <title>そっとしておくのがベストでしょう。 息子を持つ親ならこういう事は避けては通れない道かと。</title>
    <link>http://knowledge.livedoor.com/29767#answer86322</link>
    <description>そっとしておくのがベストでしょう。
息子を持つ親ならこういう事は避けては通れない道かと。</description>
    <pubDate>Sat, 27 Oct 2007 00:50:55 +0900</pubDate>
    <guid isPermaLink="true">http://knowledge.livedoor.com/29767#answer86322</guid>
    <author></author>
    <category domain="http://knowledge.livedoor.com/category/108001">育児・教育</category>
    <knowledge:feed type="answer">
        <knowledge:authorId>23599</knowledge:authorId>
        <knowledge:authorLink>http://knowledge.livedoor.com/profile/23599</knowledge:authorLink>
        <knowledge:authorIcon>http://knowledge.livedoor.com/img/my/profile_img.gif</knowledge:authorIcon>
        <knowledge:authorThumbnail>http://knowledge.livedoor.com/img/cmn/noimg_m.gif</knowledge:authorThumbnail>
    </knowledge:feed>
</item>
<item>
    <title>#include &amp;lt;stdio.h&amp;gt;  int main(){ 	 	 	 	int a,b,n; 	int i; 	printf(&amp;quot;１以上の整数を入力してください&amp;quot;); 	scanf(&amp;quot;%d&amp;quot;, &amp;amp;a); 	 	if( a &amp;lt; 1 ){ 		printf(&amp;quot;１以下の数字が入力されました&amp;quot;); 	} 	 	for( a  ; a &amp;gt; 1 ;</title>
    <link>http://knowledge.livedoor.com/29716#answer86155</link>
    <description>#include &amp;lt;stdio.h&amp;gt;

int main(){
	
	
	
	int a,b,n;
	int i;
	printf(&amp;quot;１以上の整数を入力してください&amp;quot;);
	scanf(&amp;quot;%d&amp;quot;, &amp;amp;a);
	
	if( a &amp;lt; 1 ){
		printf(&amp;quot;１以下の数字が入力されました&amp;quot;);
	}
	
	for( a  ; a &amp;gt; 1 ; a = a / 2){
		
		
		if( a &amp;gt; 0 ){
			printf(&amp;quot;\n%d ÷ 2の余りは%d&amp;quot;,a, a % 2 );
		}
		
		
	}
}</description>
    <pubDate>Wed, 24 Oct 2007 13:06:14 +0900</pubDate>
    <guid isPermaLink="true">http://knowledge.livedoor.com/29716#answer86155</guid>
    <author></author>
    <category domain="http://knowledge.livedoor.com/category/101006004">C・C++・C#</category>
    <knowledge:feed type="answer">
        <knowledge:authorId>21789</knowledge:authorId>
        <knowledge:authorLink>http://knowledge.livedoor.com/profile/21789</knowledge:authorLink>
        <knowledge:authorIcon>http://knowledge.livedoor.com/img/my/profile_img.gif</knowledge:authorIcon>
        <knowledge:authorThumbnail>http://knowledge.livedoor.com/img/cmn/noimg_m.gif</knowledge:authorThumbnail>
    </knowledge:feed>
</item>
<item>
    <title>ブログ　　　　　　　　</title>
    <link>http://knowledge.livedoor.com/29631</link>
    <description>ブログ　　　　　　　　
なぜライブドアブログをお使いなのですか？</description>
    <pubDate>Sat, 20 Oct 2007 09:55:47 +0900</pubDate>
    <guid isPermaLink="true">http://knowledge.livedoor.com/29631</guid>
    <author>motikun</author>
    <category domain="http://knowledge.livedoor.com/category/114">ライブドア</category>
    <knowledge:feed type="question">
        <knowledge:authorId>23493</knowledge:authorId>
        <knowledge:authorLink>http://knowledge.livedoor.com/profile/23493</knowledge:authorLink>
        <knowledge:authorIcon>http://knowledge.livedoor.com/img/my/profile_img.gif</knowledge:authorIcon>
        <knowledge:authorThumbnail>http://knowledge.livedoor.com/img/cmn/noimg_m.gif</knowledge:authorThumbnail>
        <knowledge:answers>4</knowledge:answers>
        <knowledge:closed label="解決済">Sat, 20 Oct 2007 12:41:19 +0900</knowledge:closed>
    </knowledge:feed>
</item>
</channel>
</rss>
