Community Profile


Anmol singh

Last seen: 2 years ago Active since 2020


  • First Answer

View badges

Content Feed

View by

How to make a program to check if a number is a prime?
Prime number - a number can devide by itself or 1 so now we can iterate loop 2 to n/2 , if n is devide by any number from 2 to n...

2 years ago | 0

how to find out if a number is even or not
A givennumber is even or odd for this we use & operator. if any number is odd it must have right most bit 1. example: int i=5...

3 years ago | 0