photo

Anmol singh


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
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...

3 years ago | 0

Answered
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...

4 years ago | 0