Загрузить файлы в «/»

This commit is contained in:
2025-09-30 15:12:52 +03:00
parent 7dfb6397a6
commit 04f3343f0e
5 changed files with 168 additions and 0 deletions

19
task4.cpp Normal file
View File

@@ -0,0 +1,19 @@
#include <iostream>
#include <clocale>
using namespace std;
int main() {
int f;
cout << "Enter the finger number (1-5): ";
cin >> f;
switch (f) {
case 1: cout << "pollex" << endl; break;
case 2: cout << "index" << endl; break;
case 3: cout << "medius" << endl; break;
case 4: cout << "annularis" << endl; break;
case 5: cout << "digitus minimus" << endl; break;
default: cout << "Incorrect number!" << endl;
}
return 0;
}