Difference of Two Problem

Difference of Two Problem — ExecCode School DSA Practice

Solve the Difference of Two problem on ExecCode. Free online school DSA practice in Combined Simple Logic. Write and run code in Java, C++, Python — no signup required to run.

Problem description

You are given two whole numbers A and B. Your task is to find A minus B. Print the difference.

Examples

Input 10 5; Output 5. Input 20 30; Output -10

Constraints

-10^4 <= A, B <= 10^4

Practice Difference of Two free on ExecCode. Browse DSA problems, topic map, and placement guides.