FrankyFlowers
Grünschnabel
EDIT: Für jene die mein Problem nicht verstehen, Ich versteh nicht warum der Compiler mir Sytax errors um die Ohren wirft.
wäre nett wenn mir da jmnd. unter die Arme greift.
P.S.: Benutze Dev ++
#include <iostream.h>
#include <stdio.h>
void main()
{
int x,y;
cout << " Geben sie den Startwert ein!" << endl;
cout << endl;
cin >> x;
cout << " Geben sie den Zielwert ein!" << endl;
cout << endl;
cin >> y;
while x<y
x++;
cout << " Ab zum Climax " << x << endl;
while x!=y
x--;
cout << " What comes up must come down " << x << endl;
getchar();
}
wäre nett wenn mir da jmnd. unter die Arme greift.
P.S.: Benutze Dev ++
#include <iostream.h>
#include <stdio.h>
void main()
{
int x,y;
cout << " Geben sie den Startwert ein!" << endl;
cout << endl;
cin >> x;
cout << " Geben sie den Zielwert ein!" << endl;
cout << endl;
cin >> y;
while x<y
x++;
cout << " Ab zum Climax " << x << endl;
while x!=y
x--;
cout << " What comes up must come down " << x << endl;
getchar();
}
Zuletzt bearbeitet: