<?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[Mini Programm schreiben]]></title><description><![CDATA[<p>Hallo,</p>
<p>Und zwar muss ich ein kleines Programm schreiben , angefangen habe ich schon nun komme ich nicht weiter.</p>
<p>Um was geht es ?<br />
Wir müssen ein kleines Programm schreiben indem man 2 Formel auswählen kann und mit dies dann auch rechnen !<br />
1. Winkel berechnung 2. Seitenlänge eines Rechtwinkligen dreieck</p>
<p>Hier mein Anfang</p>
<pre><code class="language-cpp">/*############## Seitenberechnung und Winkelberechnung #########################
############## Datum : 18.12.2007 #############################################
############## Name: A Angelo ###########################################*/

#include&lt;iostream.h&gt;
#include&lt;math.h&gt;

int main ()

{ 
int Auswahl2=0;
int Auswahl1=0;
float a=0;
float b=0;
float c=0; 

cout&lt;&lt;&quot;Seiten- und Winkelberechnung im rechtwinkligen Dreieck&quot; &lt;&lt;endl;

cout&lt;&lt;&quot;Seitenberechnung (1) ; Winkelberechnung (2)&quot; &lt;&lt;endl;
cin&gt;&gt;Auswahl1;
cout&lt;&lt;&quot;Zeichnung:&quot;&lt;&lt;endl;
if (Auswahl1==1)
{
cout&lt;&lt;&quot; /| &quot;&lt;&lt;endl;
cout&lt;&lt;&quot; / | &quot;&lt;&lt;endl;
cout&lt;&lt;&quot; c / |a &quot;&lt;&lt;endl;
cout&lt;&lt;&quot; /___| &quot;&lt;&lt;endl;
cout&lt;&lt;&quot; b &quot;&lt;&lt;endl;
cout&lt;&lt;&quot; &quot;&quot; &quot;&lt;&lt;endl;
cout&lt;&lt;&quot;Welche Seite moechten sie berechnen?&quot;&lt;&lt;endl;
cout&lt;&lt;&quot;Waehlen Sie zwischen (1) = a (Gegenkathete) || (2) = b (Ankathete) || (3) = c (Hypotenuse)&quot;&lt;&lt;endl;
cin&gt;&gt;Auswahl2;

if (Auswahl2==1)
{
cout&lt;&lt;&quot;Gib eine Zahl fuer c ein&quot;&lt;&lt;endl;
cin&gt;&gt;c;
cout&lt;&lt;&quot;Gib eine Zahl fuer b ein&quot;&lt;&lt;endl;
cin&gt;&gt;b;

a=(c*c)-(b*b);
cout&lt;&lt;&quot;Loesung&quot;&lt;&lt;endl;

} 
getchar ();
getchar ();
getchar ();

}
}
</code></pre>
<p>Ab hier komme ich leider nicht mehr weiter!</p>
<p>Hier noch der Plan , hoffe man kann was erkennen</p>
<p><a href="http://img4.imagebanana.com/view/dnaxfcrx/WOLFPRTFORMEL.jpg" rel="nofollow"></a><a href="http://img4.imagebanana.com/img/dnaxfcrx/thumb/WOLFPRTFORMEL.jpg" rel="nofollow">http://img4.imagebanana.com/img/dnaxfcrx/thumb/WOLFPRTFORMEL.jpg</a></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/201898/mini-programm-schreiben</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 06:54:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/201898.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 Jan 2008 14:01:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 14:04:30 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Und zwar muss ich ein kleines Programm schreiben , angefangen habe ich schon nun komme ich nicht weiter.</p>
<p>Um was geht es ?<br />
Wir müssen ein kleines Programm schreiben indem man 2 Formel auswählen kann und mit dies dann auch rechnen !<br />
1. Winkel berechnung 2. Seitenlänge eines Rechtwinkligen dreieck</p>
<p>Hier mein Anfang</p>
<pre><code class="language-cpp">/*############## Seitenberechnung und Winkelberechnung #########################
############## Datum : 18.12.2007 #############################################
############## Name: A Angelo ###########################################*/

#include&lt;iostream.h&gt;
#include&lt;math.h&gt;

int main ()

{ 
int Auswahl2=0;
int Auswahl1=0;
float a=0;
float b=0;
float c=0; 

cout&lt;&lt;&quot;Seiten- und Winkelberechnung im rechtwinkligen Dreieck&quot; &lt;&lt;endl;

cout&lt;&lt;&quot;Seitenberechnung (1) ; Winkelberechnung (2)&quot; &lt;&lt;endl;
cin&gt;&gt;Auswahl1;
cout&lt;&lt;&quot;Zeichnung:&quot;&lt;&lt;endl;
if (Auswahl1==1)
{
cout&lt;&lt;&quot; /| &quot;&lt;&lt;endl;
cout&lt;&lt;&quot; / | &quot;&lt;&lt;endl;
cout&lt;&lt;&quot; c / |a &quot;&lt;&lt;endl;
cout&lt;&lt;&quot; /___| &quot;&lt;&lt;endl;
cout&lt;&lt;&quot; b &quot;&lt;&lt;endl;
cout&lt;&lt;&quot; &quot;&quot; &quot;&lt;&lt;endl;
cout&lt;&lt;&quot;Welche Seite moechten sie berechnen?&quot;&lt;&lt;endl;
cout&lt;&lt;&quot;Waehlen Sie zwischen (1) = a (Gegenkathete) || (2) = b (Ankathete) || (3) = c (Hypotenuse)&quot;&lt;&lt;endl;
cin&gt;&gt;Auswahl2;

if (Auswahl2==1)
{
cout&lt;&lt;&quot;Gib eine Zahl fuer c ein&quot;&lt;&lt;endl;
cin&gt;&gt;c;
cout&lt;&lt;&quot;Gib eine Zahl fuer b ein&quot;&lt;&lt;endl;
cin&gt;&gt;b;

a=(c*c)-(b*b);
cout&lt;&lt;&quot;Loesung&quot;&lt;&lt;endl;

} 
getchar ();
getchar ();
getchar ();

}
}
</code></pre>
<p>Ab hier komme ich leider nicht mehr weiter!</p>
<p>Hier noch der Plan , hoffe man kann was erkennen</p>
<p><a href="http://img4.imagebanana.com/view/dnaxfcrx/WOLFPRTFORMEL.jpg" rel="nofollow"></a><a href="http://img4.imagebanana.com/img/dnaxfcrx/thumb/WOLFPRTFORMEL.jpg" rel="nofollow">http://img4.imagebanana.com/img/dnaxfcrx/thumb/WOLFPRTFORMEL.jpg</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431133</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431133</guid><dc:creator><![CDATA[angelo18]]></dc:creator><pubDate>Sat, 05 Jan 2008 14:04:30 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 14:09:30 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;cmath&gt;
</code></pre>
<p>!!!!!!!!!!!!!!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431139</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431139</guid><dc:creator><![CDATA[*D*]]></dc:creator><pubDate>Sat, 05 Jan 2008 14:09:30 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 14:12:43 GMT]]></title><description><![CDATA[<p>D schrieb:</p>
<blockquote>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;cmath&gt;
</code></pre>
<p>!!!!!!!!!!!!!!!!</p>
</blockquote>
<p>wieso nicht .h ?<br />
Und das c davor auch ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431141</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431141</guid><dc:creator><![CDATA[angelo18]]></dc:creator><pubDate>Sat, 05 Jan 2008 14:12:43 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 14:16:23 GMT]]></title><description><![CDATA[<p>Weil deine includeten Header veraltet sind</p>
<p>Was ist jetzt eigentlich das Problem? Fehlermeldung,...???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431145</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431145</guid><dc:creator><![CDATA[quasimodolo]]></dc:creator><pubDate>Sat, 05 Jan 2008 14:16:23 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 14:22:33 GMT]]></title><description><![CDATA[<p>Es fehlt allerdings dann noch ein</p>
<pre><code class="language-cpp">using namespace std;
</code></pre>
<p>nach den Includes - es sei denn, du hast Lust std::cout statt cout etc. zu schreiben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431150</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431150</guid><dc:creator><![CDATA[wolfgke]]></dc:creator><pubDate>Sat, 05 Jan 2008 14:22:33 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 14:31:47 GMT]]></title><description><![CDATA[<p>Ja ok danke</p>
<p>mein problem , ist das ich nicht weiter komme</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431158</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431158</guid><dc:creator><![CDATA[angelo18]]></dc:creator><pubDate>Sat, 05 Jan 2008 14:31:47 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 14:34:02 GMT]]></title><description><![CDATA[<p>Dann beschreib, wo dein Problem liegt. Wenn du dabei Probleme hast, dann überlege dir:</p>
<p>1. was fehlt noch<br />
2. wie könntest du es in Teilprobleme zerlegen<br />
3. sind die Teilprobleme klein genug, um sie in Code umzusetzen - wenn nein, weiter zerteilen<br />
4. das ganze runterschreiben</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431159</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431159</guid><dc:creator><![CDATA[wolfgke]]></dc:creator><pubDate>Sat, 05 Jan 2008 14:34:02 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 14:53:22 GMT]]></title><description><![CDATA[<p>using namespace std braucht man nicht!</p>
<p>Beispiel:</p>
<pre><code class="language-cpp">std::cout&lt;&lt;&quot;Bla!&quot;;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1431170</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431170</guid><dc:creator><![CDATA[*D*]]></dc:creator><pubDate>Sat, 05 Jan 2008 14:53:22 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 15:48:23 GMT]]></title><description><![CDATA[<p>Also die Formel habe ich ja eingefpgt<br />
a=(c*c)-(b*b)</p>
<p>aber der bringt mir keine Lösung</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431198</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431198</guid><dc:creator><![CDATA[angelo18]]></dc:creator><pubDate>Sat, 05 Jan 2008 15:48:23 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 15:57:20 GMT]]></title><description><![CDATA[<p>Also ich will dir mal helfen.<br />
Ich schreib mal das Programm neu mit einer Schleife.<br />
Ich brauch nur die Formeln und was es können soll.<br />
Außerdem solltest du immer using namespace std; verwenden denn immer str zu schreiben nervt!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431203</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431203</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sat, 05 Jan 2008 15:57:20 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 16:11:01 GMT]]></title><description><![CDATA[<p>Seitenberechnung eines rechtwinkligen dreicks und Winkelberechnung</p>
<p>Formel für Seite berechnenungen</p>
<p>a=(c*c)-(b*b) und am ende wurzelziehen von diesen Teil (c*c)-(b*b)<br />
b=(c*c)-(a*a) oder b auch mit b² machen und wurzel vom ganzen ziehen<br />
c=(a*a)+(b*b)</p>
<p>Formel für Winkelberechnung (nur mit alpha)</p>
<p>sin alpha = Gegenkathete/Hypotenuse = a/c<br />
cos alpha = Ankathete/Hypotenuse = b/c<br />
tan alpha = Gegenkathete/Ankathete = a/b</p>
<p>Brauchste noch was ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431223</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431223</guid><dc:creator><![CDATA[angelo18]]></dc:creator><pubDate>Sat, 05 Jan 2008 16:11:01 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 16:18:15 GMT]]></title><description><![CDATA[<p>am besten ich code dirs vor und du setzt die formeln ein...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431235</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431235</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sat, 05 Jan 2008 16:18:15 GMT</pubDate></item><item><title><![CDATA[Reply to Mini Programm schreiben on Sat, 05 Jan 2008 16:46:51 GMT]]></title><description><![CDATA[<p>Was muss du dem Programm denn sagen ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431258</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431258</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sat, 05 Jan 2008 16:46:51 GMT</pubDate></item></channel></rss>