Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main()
- {
- int a,b,noy;
- clrscr();
- cout << "Enter the organisation joining year : ";
- cin >> a;
- cout << endl << "\nEnter the current year : ";
- cin >> b;
- noy = b - a;
- if(noy>3)
- cout << "\n\nYou are eligible for a Rs.2500 bonus." << endl;
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement