<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Kleines mathematishes problem]]></title><description><![CDATA[<p>will diese formel ausgeben<br />
4! = 4(3)(2)(1)=24<br />
die formel is so<br />
n != n(n)(n)(n)...(n²)<br />
das problem is ich weis net ich ich es so mache das die inner halb der klamern sich dann zum schlus mit der eingegeben zahl adiren hat jemand ne idee</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/260342/kleines-mathematishes-problem</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 04:29:35 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/260342.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Feb 2010 21:11:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Kleines mathematishes problem on Wed, 03 Feb 2010 21:11:03 GMT]]></title><description><![CDATA[<p>will diese formel ausgeben<br />
4! = 4(3)(2)(1)=24<br />
die formel is so<br />
n != n(n)(n)(n)...(n²)<br />
das problem is ich weis net ich ich es so mache das die inner halb der klamern sich dann zum schlus mit der eingegeben zahl adiren hat jemand ne idee</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850110</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850110</guid><dc:creator><![CDATA[ritmi]]></dc:creator><pubDate>Wed, 03 Feb 2010 21:11:03 GMT</pubDate></item><item><title><![CDATA[Reply to Kleines mathematishes problem on Wed, 03 Feb 2010 21:20:11 GMT]]></title><description><![CDATA[<p>Die &quot;Formel&quot; heißt Fakultät. Was genau deine Frage ist, konnte ich dem Gestammel leider nicht entnehmen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850115</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850115</guid><dc:creator><![CDATA[Michael E.]]></dc:creator><pubDate>Wed, 03 Feb 2010 21:20:11 GMT</pubDate></item><item><title><![CDATA[Reply to Kleines mathematishes problem on Wed, 03 Feb 2010 21:20:36 GMT]]></title><description><![CDATA[<blockquote>
<p>das problem is ich weis net ich ich es so mache das die inner halb der klamern sich dann zum schlus mit der eingegeben zahl adiren hat jemand ne idee</p>
</blockquote>
<p>Meine erste Idee wäre, dass du mal lernst vernünftig zu schreiben.</p>
<p>Meine zweite Idee wäre, dass du dir nochmal überlegst was n! (sprich n Fakultät) wirklich bedeutet. Es ist nämlich nicht n != n(n)(n)(n)...(n²)!</p>
<p>Meine dritte Idee wäre, dass du dir nochmal überlegst was deine Frage mit C++ zu tun hat.</p>
<p>Vielleicht hilft dir eine meiner Ideen weiter.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850117</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850117</guid><dc:creator><![CDATA[Idee]]></dc:creator><pubDate>Wed, 03 Feb 2010 21:20:36 GMT</pubDate></item><item><title><![CDATA[Reply to Kleines mathematishes problem on Wed, 03 Feb 2010 21:24:30 GMT]]></title><description><![CDATA[<p>ja es soll ain program sein das ein integer zahl z.b<br />
4 . diese 4 soll sich der formel ahnpassen<br />
4!= 4 (3)<em>(2)</em>(1)=24<br />
als erstes werden die in denn klamern zuzammen gerechnet dann das zuzammen gerechnete mit 4 so damit es 24 ergibt aber bei mir siht es etwas anderst aus<br />
denn egal was ich eintippe<br />
der loop hört net auf die zahl kleiner zu machen ... also es wird eine englos schleife</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850119</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850119</guid><dc:creator><![CDATA[ritmi]]></dc:creator><pubDate>Wed, 03 Feb 2010 21:24:30 GMT</pubDate></item><item><title><![CDATA[Reply to Kleines mathematishes problem on Wed, 03 Feb 2010 21:26:47 GMT]]></title><description><![CDATA[<p>Wenn du so programmierst, wie du hier schreibst, wundert es mich, dass es überhaupt kompiliert...</p>
<p>Ohne dass du uns deinen Code zeigst, können wir dir nicht helfen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850121</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850121</guid><dc:creator><![CDATA[Michael E.]]></dc:creator><pubDate>Wed, 03 Feb 2010 21:26:47 GMT</pubDate></item><item><title><![CDATA[Reply to Kleines mathematishes problem on Wed, 03 Feb 2010 21:29:03 GMT]]></title><description><![CDATA[<p>Keine Ahnung, ob es gefragt war, aber ich hatte Lust das zu schreiben:</p>
<pre><code class="language-cpp">#include &lt;cstdio&gt;
using namespace std;

int main()
{
	size_t n = 0;

	while (true)
	{
		scanf(&quot;%u&quot;, &amp;n);
		if (n == 0)
			continue;

		printf(&quot;%u! = %u&quot;, n, n);
		size_t f = n;
		for (size_t i = n - 1; i &gt; 0; --i)
		{
			f *= i;
			printf(&quot; * %u&quot;, i);
		}
		printf(&quot; = %u\n&quot;, f);
	}
}
</code></pre>
<p>Output von 4:<br />
<code>4! = 4 * 3 * 2 * 1 = 24</code></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850122</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850122</guid><dc:creator><![CDATA[TyRoXx]]></dc:creator><pubDate>Wed, 03 Feb 2010 21:29:03 GMT</pubDate></item><item><title><![CDATA[Reply to Kleines mathematishes problem on Wed, 03 Feb 2010 21:42:37 GMT]]></title><description><![CDATA[<p>also obwol ich ziemlich lange mit c++ zu tuhn habe weis ich net was das printf ist<br />
kannst mir das mal erkleren google zeigt nur was von C aber nix von c++</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850130</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850130</guid><dc:creator><![CDATA[ritmi]]></dc:creator><pubDate>Wed, 03 Feb 2010 21:42:37 GMT</pubDate></item><item><title><![CDATA[Reply to Kleines mathematishes problem on Wed, 03 Feb 2010 21:44:50 GMT]]></title><description><![CDATA[<p>ritmi schrieb:</p>
<blockquote>
<p>also obwol ich ziemlich lange mit c++ zu tuhn habe weis ich net was das printf ist<br />
kannst mir das mal erkleren google zeigt nur was von C aber nix von c++</p>
</blockquote>
<p>&quot;Ziemlich lange&quot; ist wohl ein seeeehr dehnbarer Begriff. Das <code>printf</code> ist Teil der C-Standardbibliothek und wurde von C++ übernommen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850131</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850131</guid><dc:creator><![CDATA[TyRoXx]]></dc:creator><pubDate>Wed, 03 Feb 2010 21:44:50 GMT</pubDate></item><item><title><![CDATA[Reply to Kleines mathematishes problem on Wed, 03 Feb 2010 21:49:08 GMT]]></title><description><![CDATA[<p>hab jetzt par alte bücher auf gebletert sry für die dove frage <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_tongue"
      title=":P"
      alt="😛"
    /><br />
war zu lange auf php<br />
danke viel mals <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850136</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850136</guid><dc:creator><![CDATA[ritmi]]></dc:creator><pubDate>Wed, 03 Feb 2010 21:49:08 GMT</pubDate></item><item><title><![CDATA[Reply to Kleines mathematishes problem on Wed, 03 Feb 2010 23:32:21 GMT]]></title><description><![CDATA[<p>ritmi schrieb:</p>
<blockquote>
<p>hab jetzt par alte bücher auf gebl<strong>e</strong>tert sry für die do<strong>v</strong>e frage <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_tongue"
      title=":P"
      alt="😛"
    /></p>
</blockquote>
<p>Hui <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850175</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850175</guid><dc:creator><![CDATA[Icematix]]></dc:creator><pubDate>Wed, 03 Feb 2010 23:32:21 GMT</pubDate></item><item><title><![CDATA[Reply to Kleines mathematishes problem on Thu, 04 Feb 2010 06:01:30 GMT]]></title><description><![CDATA[<p>Das ist mir zu schlimm.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850208</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850208</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Thu, 04 Feb 2010 06:01:30 GMT</pubDate></item></channel></rss>