Something went wrong!

Some error occured while loading page for you. Please try again.

  • Practice
  • Compete
  • Jobs
  • Leaderboard
  1. Dashboard
  2. Linux Shell
  3. Bash
  4. The World of Numbers

The World of Numbers

by PRASHANTB1984
  • Problem
  • Submissions
  • Leaderboard
  • Discussions
  • Editorial
  • Tutorial

Given two integers, and , find their sum, difference, product, and quotient.

Input Format

Two lines containing one integer each ( and , respectively).

Constraints


Output Format

Four lines containing the sum (), difference (), product (), and quotient (), respectively.
(While computing the quotient, print only the integer part.)

Sample Input

5
2

Sample Output

7
3
10
2

Explanation

5 + 2 = 7
5 - 2 = 3
5 * 2 = 10
5 / 2 = 2 (Integer part)

Easy
Submitted 31184 timesMax Score 2

Need Help?

View Tutorial
View Discussions
View Editorial Solution
View Top Submissions

Rate This Challenge:

Download problem statement
Download sample test cases
Suggest Edits
Set as default

You can always change back later.

Contest Calendar | Blog | Scoring | Environment | FAQ | About Us | Support | Careers | Terms Of Service | Privacy Policy | Request a Feature