Ich habe Folgendes Problem. Und zwar finde ich meinen Fehler in meinem C++ Code nicht. Ich habe versucht etwas zu erstellen, was mir sagt, ob eine Zahl größer oder kleiner als die andere ist.
Code:
#include <iostream>
#include <string>
using namespace std;
int main()
{
int zahl1, zahl2;
cout << "Tippe Zahl1 ein:";
cin zahl1;
cout << "Tippe Zahl2 ein:";
cin zahl2;
if (zahl1 > zahl2) cout << "Zahl1 ist groesser als Zahl2" << endl;
if (zahl1 < zahl2) cout << "Zahl1 ist kleiner als Zahl2" << endl;






