0
Please who can help me with this answer binary converter
import java.util.Scanner; //your code goes here public class Program { public static void main(String[ ] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); System.out.print(Converter.toBinary(x)); } }
2 Answers
0
MR KINGSHOW
class test
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
System.out.print(Integer.toBinaryString(x));
}
}
0
The above code will give binary of any integer
For more information on coding follow the below Instagram page
Anonymous_me_0000