diff --git a/lab03/02.cpp b/lab03/02.cpp new file mode 100644 index 0000000..91c3800 --- /dev/null +++ b/lab03/02.cpp @@ -0,0 +1,37 @@ +#include +#include +using namespace std; + +int main(){ + ios::sync_with_stdio(false); + + cout<<"Numele elevului: "; + string nume; + cin>>nume; + + HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); + SetConsoleCursorPosition(hConsole, {17, 0}); + + for(int i=0; i>incercare; + tries++; + if(nume == incercare){ + cout<<"Ai gasit numele din "<