subject

Programming challenge description: write a program that, given two binary numbers represented as strings, prints their sum in binary. the binary strings are comma separated, two per line. the final answer should not have any leading zeroes. in case the answer is zero, just print one zero i. e. 0 input: your program should read lines from standard input. each line contains two binary strings, separated by a comma and no spaces. output: for each pair of binary numbers print to standard output their binary sum, one per line.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:50
Which of the following had the greatest influence on opening the internet to the generly public
Answers: 1
question
Computers and Technology, 22.06.2019 03:30
Jessie has received a contract to build a real-time application for a baker. however, the baker doesn't want to invest too much money. his only requirement is that he wants the customers to know which cupcakes are available at what time and in what quantity. so his core requirement is that the details of product should be in real time. what platform can jessie use to develop this application?
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
On early television stations, what typically filled the screen from around 11pm until 6am? test dummies test patterns tests testing colors
Answers: 1
question
Computers and Technology, 25.06.2019 14:00
Which of the following exceptions could occur when the following code is run, if the precondition is met? // precondition: a is not null public string dosomething(arraylist a, int b) { int i; string s; for (i = 0; i < = a.size(); i++) { s = (string)(a.get(i)); if (s.length() == b) { return s; } } return null; }
Answers: 1
You know the right answer?
Programming challenge description: write a program that, given two binary numbers represented as st...
Questions
question
History, 01.04.2021 01:50
question
English, 01.04.2021 01:50
question
Mathematics, 01.04.2021 01:50
Questions on the website: 13722363