WHAT, bro thank you so much I been studying one code to add binary numbers and it so complicated compare to yours.
clarencecho
Thanks for posting this. It was very helpful and not as complicated as other videos I had previously viewed.
xelgringox
This was simplified and very helpful. Good teacher!!!
cr
Very well explained my guy, and your speech is worth listening to for hours😅😂
ishan
what is the function of parseint and tobinarystring? plz tell
sherrycomm
What happen if we enter decimal number it will check "it is binary or not" OR is throw error
shunmugarajan
Instead of parseint can we directly input in long data type?
tanvigupta
cant we do this code without the use of the wrapper class
Ritik-ioof
how about this 102.96 to binary what it is code please help
robokop
Sir why you are used 2
In the parseint
BusinessBookBite
Not that clear with the explanation, but the code is good.
iamjm_rishav
BINARY ADDITION: Two decimal numbers are accepted as input and are
automatically converted into binary numbers and are added.
nizam-u-ddinpatoli
Your method is very simplified man. Thanks!! Mine actually sucks
import java.util.Scanner;
public class Main<remainder> {
public static void main(String[] args) {
long binary1, binary2;
int i = 0;
int remainder = 0;
int sum[] = new int[20];
Scanner pot = new Scanner(System.in);
System.out.println("Print first binary number");
binary1 = pot.nextLong();