Program for Logical &&(and) operator:


              main()  
              {  
                  int s, a;  
                  clrscr();  
              
                  printf("\n Mention salary of the applier");  
                  scanf("%d", &s);  
              
                  printf("\n Mention age of the applier");  
                  scanf("%d", &a);  
              
                  if (s > 25000 && a > 25)  
                  {  
                      printf("\n Loan of 500000 is granted");  
                  }  
                  else  
                  {  
                      printf("\n Loan of 500000 is rejected");  
                  }  
              
                  getch();  
              }  
              

Output: