![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18116337_1586497743908_DEF.jpg)
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...
3 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