Q3. write a program to accept any number and check the number is Prime or not.

  • Enter the number:
  • The corresponding number is: