Something
public text v1 · immutable#include <iostream>
using std::endl;
using std::cin;
using std::cout;
int
main () {
char x;
int int_x;
do{
std::cout << " Please press now 1, 2, 3, 4, 5 or 6 to continue " << std::endl;
std::cin >> x;
} while ((x!='1') && (x!= '2') && (x!= '3') && (x!= '4') && (x!= '5') && (x!= '6'));
cout << "OK" << endl;
int_x = x - '0';
cout << int_x + 10 << endl; // einai arithmos, mporeis na kaneis pra3i
return 0;
}