sjparthiv sjparthiv
  • 17-03-2020
  • Computers and Technology
contestada

java program to check whether its an evil no or not

Respuesta :

edisonku16
edisonku16 edisonku16
  • 06-07-2021

Explanation:

Program to check whether the given number is Evil Number or not in Java. First run: Enter a positive number : 4520 Binary Equivalent = 1000110101000 Number of Ones = 5 4520 is Not an Evil Number. Second run: Enter a positive number : 9 Binary Equivalent = 1001 Number of Ones = 2 9 is an Evil Number.

Answer Link

Otras preguntas

Approximate the solution to the equation using three iterations of successive approximation
Who wants to philosophize? ( brainly logged me out so )
When a force is applied to a wheel, its axle exerts a greater force?
What is the source of crusoe's mastery over the mutineers when they first encounter one another?
What is the purpose of memory address?​
Need some help with trinomial​
What was one way that President Clinton's domestic policies were similar to Newt Gingrich's Contract with America? A. They both sought to deregulate communicat
By 1300 C.E. during the Renaissance era, the production of slowly started to become streamlined. A. paper B. gold C. silk
What have you learned from geography give 2-3 sentences?
what is the difference between meteors and asteroids