23 lines
374 B
C++
23 lines
374 B
C++
#include <iostream>
|
|
#include <windows.h>
|
|
#include <unistd.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
SetConsoleOutputCP(CP_UTF8);
|
|
|
|
int Zahl1 = 5, Zahl2 = 10;
|
|
cout << "Zahl 1: ";
|
|
cin >> Zahl1;
|
|
|
|
cout << endl << "Zahl 2: ";
|
|
cin >> Zahl2;
|
|
|
|
for (int i = Zahl1; i < Zahl2+1; i++) {
|
|
cout << i << endl;
|
|
usleep(1000000);
|
|
}
|
|
|
|
return 0;
|
|
} |