Write a c or python program to check Leap Year

 C Program:


#include <stdio.h>

int main() {
   int year;
   year = 2016;

   if (((year % 4 == 0) && (year % 100!= 0)) || (year%400 == 0))
      printf("%d is a leap year", year);
   else
      printf("%d is not a leap year", year);

   return 0;
}


Python 3.10:

def CheckLeap(Year):  
  # Checking if the given year is leap year  
  if((Year % 400 == 0) or  
     (Year % 100 != 0) and  
     (Year % 4 == 0)):  
    print("Given Year is a leap Year");  
  # Else it is not a leap year  
  else:  
    print ("Given Year is not a leap Year")  
# Taking an input year from user  
Year = int(input("Enter the number: "))  
# Printing result  
CheckLeap(Year)  


Wi-Fi Password Stealer - Windows user

 




1. Press windows key + R, then type cmd and Press Enter 



2. 
cmd

3. Type netsh wlan show profile

and press Enter 

4. Now you can see all the WIFI profile those are connected with your PC/Laptop 

wifi profile


5. Suppose you want to see the password of HUAWEI wifi then type 

netsh wlan show profile HUAWEI key=clear


and press Enter

6. Now you can see the password like 

Security settings

---------------------------------------------------------

    Authentication         : WPA2-Personal

    Cipher                 : CCMP

    Authentication         : WPA2-Personal

    Cipher                 : GCMP

    Security key           : Present

    Key Content            : adafsdg