#include<iostream.h>
#include<conio.h>
class game
{
 int a,b,c;
 public:
     void g()
     { 
     cout<<"Enter value of a<<endl;
         cin>>a>>b;
         if(a<b)
         {
         cout<<a,<<endl;
         c++;
         }
       }
   };
   void main()
   {
    game g1;
    g1.g();
    getch();
    }

Shall we play a game?

  • Joshua