Anmol singh
Followers: 0 Following: 0
Feeds
已回答
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...
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...
4 years 前 | 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...
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 前 | 0