20 lines
496 B
C++
20 lines
496 B
C++
#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;
|
|
}
|