Community Profile

photo

Anmol singh


Last seen: circa 2 anni fa Attivo dal 2020

Statistics

  • First Answer

Visualizza badge

Content Feed

Visto da

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

circa 2 anni fa | 0

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

circa 3 anni fa | 0