<?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[einfahe aufgabe...]]></title><description><![CDATA[<p>ich habe diese aufgabe:<br />
Entwickeln Sie ein Programm zur Zinsberechnung. Es soll den zu verzinsenden Betrag und den Zinssatz in Prozent einlesen. Anschließend werden der Zins und das gesamte Guthaben ausgegeben. Alle Variablen sind vom Typ double. Verwenden Sie sprechende Variablennamen.</p>
<p>und habe diese code geschieben:</p>
<p>#include &lt;cstdlib&gt;<br />
#include &lt;iostream&gt;</p>
<p>using namespace std;</p>
<p>int main(int argc, char *argv[])<br />
{<br />
double Betrag,zinssatz;<br />
cout &lt;&lt;&quot; bitte geben sie den betrag ein:&quot; ;<br />
cin &gt;&gt; Betrag;<br />
cout &lt;&lt; &quot;zinsssatz: &quot;;<br />
cin &gt;&gt; zinssatz;<br />
cout &lt;&lt; zinssatz * Betrag &lt;&lt;endl;</p>
<p>system(&quot;PAUSE&quot;);<br />
return EXIT_SUCCESS;<br />
}</p>
<p>ich glaube es ist falsch<br />
aber ich habe keine andere idee</p>
<p>ich wäre sehr dankbar wenn jemand mir hilft</p>
<p>mfg<br />
aldo</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/132750/einfahe-aufgabe</link><generator>RSS for Node</generator><lastBuildDate>Thu, 27 Aug 2026 14:16:41 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/132750.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Jan 2006 19:02:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 19:02:30 GMT]]></title><description><![CDATA[<p>ich habe diese aufgabe:<br />
Entwickeln Sie ein Programm zur Zinsberechnung. Es soll den zu verzinsenden Betrag und den Zinssatz in Prozent einlesen. Anschließend werden der Zins und das gesamte Guthaben ausgegeben. Alle Variablen sind vom Typ double. Verwenden Sie sprechende Variablennamen.</p>
<p>und habe diese code geschieben:</p>
<p>#include &lt;cstdlib&gt;<br />
#include &lt;iostream&gt;</p>
<p>using namespace std;</p>
<p>int main(int argc, char *argv[])<br />
{<br />
double Betrag,zinssatz;<br />
cout &lt;&lt;&quot; bitte geben sie den betrag ein:&quot; ;<br />
cin &gt;&gt; Betrag;<br />
cout &lt;&lt; &quot;zinsssatz: &quot;;<br />
cin &gt;&gt; zinssatz;<br />
cout &lt;&lt; zinssatz * Betrag &lt;&lt;endl;</p>
<p>system(&quot;PAUSE&quot;);<br />
return EXIT_SUCCESS;<br />
}</p>
<p>ich glaube es ist falsch<br />
aber ich habe keine andere idee</p>
<p>ich wäre sehr dankbar wenn jemand mir hilft</p>
<p>mfg<br />
aldo</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/964897</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964897</guid><dc:creator><![CDATA[aldo]]></dc:creator><pubDate>Thu, 12 Jan 2006 19:02:30 GMT</pubDate></item><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 19:06:52 GMT]]></title><description><![CDATA[<p>Wir sprechen da von per-cento pro hundert. Da fehlt mir irgendwie der faktor hundert in deinem programm.<br />
Kurt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/964898</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964898</guid><dc:creator><![CDATA[ZuK]]></dc:creator><pubDate>Thu, 12 Jan 2006 19:06:52 GMT</pubDate></item><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 19:11:16 GMT]]></title><description><![CDATA[<p>Du must Dir das mal aus Sicht der Bank vorstellen.<br />
Du bekommst eine Menge Geld x und der Zinssatz liegt bei z.<br />
d.h. nach einem Jahr beträgt die Geldmenge<br />
x_neu = x*z;</p>
<p>diese Situation ist jedes Jahr bzw. für jeden Zeitraum über den Du bilanzierst die selbe.</p>
<p>x_neu2 = x_neu*z = x*z*z = x*z^2</p>
<p>z ist nicht wirklich der Zinssatz sonder z.B. 1.05 wenn der Zinssatz 5%<br />
beträgt.</p>
<p>Du brauchst also eine Schleife. oder Du findest die Formel</p>
<p>Kapital = (1+Zinssatz)^Jahre * Startkapital</p>
<p>ist die analytische Lsg.</p>
<p>vom Programmieren lernst du aber mehr wenn Du die erste Idee in Code umsetzt.</p>
<p>mfG, cris492</p>
]]></description><link>https://www.c-plusplus.net/forum/post/964904</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964904</guid><dc:creator><![CDATA[cris492]]></dc:creator><pubDate>Thu, 12 Jan 2006 19:11:16 GMT</pubDate></item><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 19:14:47 GMT]]></title><description><![CDATA[<p>ich weiss nicht wie es schreibe<br />
kannst du wieleicht ein schreiben</p>
<p>wäre sehr dankbar<br />
echt habe keine ander idee<br />
[quote]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/964906</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964906</guid><dc:creator><![CDATA[aldo]]></dc:creator><pubDate>Thu, 12 Jan 2006 19:14:47 GMT</pubDate></item><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 19:31:20 GMT]]></title><description><![CDATA[<p>kann jemand nur anfangen<br />
bitte</p>
]]></description><link>https://www.c-plusplus.net/forum/post/964921</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964921</guid><dc:creator><![CDATA[aldo]]></dc:creator><pubDate>Thu, 12 Jan 2006 19:31:20 GMT</pubDate></item><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 19:46:30 GMT]]></title><description><![CDATA[<p>weiß nicht</p>
]]></description><link>https://www.c-plusplus.net/forum/post/964931</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964931</guid><dc:creator><![CDATA[anddy]]></dc:creator><pubDate>Thu, 12 Jan 2006 19:46:30 GMT</pubDate></item><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 19:52:03 GMT]]></title><description><![CDATA[<p>Wenn Du eins im Leben lernen musst.<br />
Du lernst es beim selber machen und es tut weh.<br />
Aber das kann Dir keiner abnehmen.<br />
Sell Dir die richtigen Fragen und die Antworten werden Dich nach vorn bringen.<br />
Aber das denken kann Dir keiner abnehmen.<br />
Du fragst was sind die richtigen Fragen, falsche Frage.<br />
Du bist nähmlich nicht weiter, aber auf einem guten Weg.</p>
<p>Viel Spass</p>
]]></description><link>https://www.c-plusplus.net/forum/post/964938</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964938</guid><dc:creator><![CDATA[cris492]]></dc:creator><pubDate>Thu, 12 Jan 2006 19:52:03 GMT</pubDate></item><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 19:54:44 GMT]]></title><description><![CDATA[<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/964939</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964939</guid><dc:creator><![CDATA[aldo]]></dc:creator><pubDate>Thu, 12 Jan 2006 19:54:44 GMT</pubDate></item><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 19:55:31 GMT]]></title><description><![CDATA[<p>cris492 schrieb:</p>
<blockquote>
<p>Kapital = (1+Zinssatz)^Jahre * Startkapital</p>
</blockquote>
<p>wenn du da ansetzt, siehst du, was du noch brauchst...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/964941</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964941</guid><dc:creator><![CDATA[Freeze2006]]></dc:creator><pubDate>Thu, 12 Jan 2006 19:55:31 GMT</pubDate></item><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 19:55:41 GMT]]></title><description><![CDATA[<p>danke aber mein problem steht mit dem deutschen sprache</p>
]]></description><link>https://www.c-plusplus.net/forum/post/964943</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964943</guid><dc:creator><![CDATA[aldo]]></dc:creator><pubDate>Thu, 12 Jan 2006 19:55:41 GMT</pubDate></item><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 20:43:32 GMT]]></title><description><![CDATA[<p>jetzt ist ganz falsch<br />
kann jemand helfen nur anfange bitte</p>
<p>#include &lt;iostream&gt;</p>
<p>using namespace std;</p>
<p>int main(int argc, char *argv[])<br />
{<br />
/<em>Entwickeln Sie ein Programm zur Zinsberechnung. Es soll den<br />
zu verzinsenden Betrag und den Zinssatz in Prozent einlesen.<br />
Anschließend werden der Zins und das gesamte Guthaben<br />
ausgegeben. Alle Variablen sind vom Typ double.<br />
Verwenden Sie sprechende Variablennamen.</em>/<br />
// Kapital = (1+Zinssatz) * Startkapital</p>
<p>double Kapital,Zinssatz,Startkapital;<br />
cout &lt;&lt; &quot;Startapital: &quot; &lt;&lt; Startkapital &lt;&lt; endl;<br />
cin &gt;&gt; Startkapital;<br />
cout &lt;&lt; &quot;Zinssatz; &quot; &lt;&lt; Zinssatz &lt;&lt; endl;<br />
cin &gt;&gt; Zinssatz;<br />
cout &lt;&lt; &quot;kapital: &quot; &lt;&lt; Kapital&lt;&lt; endl;<br />
cin &gt;&gt; Kapital;<br />
cout &lt;&lt; (1+Zinssatz) * Startkapital &lt;&lt; endl;</p>
<p>system(&quot;PAUSE&quot;);<br />
return EXIT_SUCCESS;<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/964980</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/964980</guid><dc:creator><![CDATA[aldo]]></dc:creator><pubDate>Thu, 12 Jan 2006 20:43:32 GMT</pubDate></item><item><title><![CDATA[Reply to einfahe aufgabe... on Thu, 12 Jan 2006 21:12:43 GMT]]></title><description><![CDATA[<p>Hints:</p>
<pre><code class="language-cpp">cout &lt;&lt; &quot;Startapital: &quot; &lt;&lt; Startkapital &lt;&lt; endl;
</code></pre>
<p>Es macht keinen Sinn Startkapital auszugeben. Sollte ja eingegeben werden. Das gleiche bei Zinssatz.</p>
<pre><code class="language-cpp">cin &gt;&gt; Kapital;
</code></pre>
<p>Das sollte das Ergebnis deiner Berechnung werden.</p>
<p>und die Formel</p>
<pre><code class="language-cpp">Kapital = (1+Zinssatz) * Startkapital
</code></pre>
<p>ist auch falsch. sollte</p>
<pre><code class="language-cpp">Kapital = (1.0 + Zinssatz/100.0 ) * Startkapital
</code></pre>
<p>sein<br />
Kurt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/965004</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/965004</guid><dc:creator><![CDATA[ZuK]]></dc:creator><pubDate>Thu, 12 Jan 2006 21:12:43 GMT</pubDate></item></channel></rss>