Computer Science, asked by hnayakmsd07, 8 months ago

Write a program in any language (C/C++/Java/Python) for subtracting two binary numbers.
And please explain the program.​

Answers

Answered by kr849826
0

Answer:

In this tutorial, we will write a Python program to add, subtract, multiply and divide two input numbers.

Program to perform addition, subtraction, multiplication and division on two input numbers in Python

In this program, user is asked to input two numbers and the operator (+ for addition, – for subtraction, * for multiplication and / for division). Based on the input, program computes the result and displays it as output.

To understand this program you should know how to get the input from user and the basics of if..elif..else statement.

Similar questions