/*
 * Task 10:
 * 
 * complete the following method to meet the 
 * indicated specification
 */

package task10;

public class Ones {
	
	// the method ones returns the number of ones in the
	// binary representation of the given positive integer x.
	// Example: the integer 13 has the binary representation
	// 1101, which contains three ones; thus the result
	// should be 3.
	
	public static int ones(int x) {
		// COMPLETE THIS METHOD

	}
}
