Final presentation

Dua Elhaci

لعبة الأحجار الخمسة 

لعبة التحدي والتنافس






دعاء الحجي

نسيم السبتي

#include<iostream>

using namespace std;

int main()

{

    int r;

    int m;

    cout << "how old are you" << endl;

    cin >> r;

    if (r => 10)

    {

        cout << "you can play this game" << endl;

    }

    else

    {

        cout << "you can't play this game " << endl;

    }


    cout << "How many stones do you have?" << endl;

    cin >> m;

    if (m >= 3)

    {

        cout << "you can pass to next stage" << endl;

    }

    else

    {

        cout << "you shold stay in this stage " << endl;

    }


    string x;

    cout << "Do you want to help" << endl;

    cin >> x;

    if (x == "yes")

    {

        cout << " dont throw the stones up too much" << endl;

    }

    else

    {

        cout << "you are a profssional" << endl;

    }


}