Wednesday 7 November 2012

Can you Apply or Not??

#include <iostream>
using namespace std;
int main ()
{

   int age;
   cout << "What is your age: ";
   cin >> age;

   if (age < 0)
   {
       cout << "Age Can be in -ve????" << endl;
   }
   else cout << "You Are Eligible to Apply." << endl;

   return 0;
}

No comments:

Post a Comment