@@ -0,0 +1,296 @@
+import java.util.*;%0Apublic class countsOfBitOne %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Scanner input = new Scanner(System.in);%0A%09%09int num=input.nextInt();%0A%09%09int calc=0;%0A%09%09while(num%3E0)%7B%0A%09%09%09int bit=num&1;%0A%09%09%09if (bit==1)%7B%0A%09%09%09%09calc++;%0A%09%09%09%7D%0A%09%09%09num%3E%3E=1;%09%09%09%0A%09%09%7D%0A%09%09System.out.println(calc);%0A%09%7D%0A%0A%7D%0A

Create countsOfBitOne.java