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

convert 5 pi/12 degrees
What is the goal of the first draft stage of essay production A.edit for grammer and style.
Simon has a rectangular garden that is 10 feet wide. The perimeter of the garden is 50 feet. What is the area of Simon’s garden? ft2
cot(2theta/3)= - square root of 3
What is the name for dna segments transcribed into mrna and coded for specific amino acids?
in jungle book give one example of a time when one of the wolves follows the Law of the Jungle,
a rectangular pyramid has a volume of 525 cubic feet. it has a base of 25 feet by 18 feet. determine the height of the pyramid.
1. why did william t. sherman want to attack columbia ? (1 point ) A because he had lost a previous skirmish there B because he wanted to attack the capital
Which sentence uses the superlative degree? a.) jerry is the more organized of the two. b.) greg is a fantastic math teacher. c.) marley is the most interest
pleas3 help answer this I'm stuck