inital commit, adding all school projects
This commit is contained in:
23
Zaehler/main.cpp
Normal file
23
Zaehler/main.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user