#include #include using namespace std; int main(int argc, char *argv[]) { system("chcp 1253"); int answer, count, chances, right; for (count=10; count<12; count++) { cout<<"Πόσο είναι "<>answer; if (answer == count+count) cout<<"Σωστό!\n"; else { cout<<"Όχι, λάθος\n"; cout<<"Προσπάθησε ξανά\n"; right = 0; /* εσωτερικό for */ for (chances=0; (chances<3) && (right==0); chances++){ cout<<"\n Ευκαιρία "<>answer; if (answer == count+count){ cout<<"Σωστό!\n"; right=1; } } /* εάν η απάντηση είναι ακόμα λάθος, τότε εμφάνισέ τη */ if (!right) cout<<"Η απάντηση είναι "<