HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


50881 - Exchange the Values

Section problems

• 50951 - Odd Numbers
• 50883 - Win or Lose
• 50892 - Even Numbers
• 50891 - Smallest Number
• 50965 - Draw the Pattern
• 50945 - Bigger or Smaller
• 50946 - Area of Rectangle
• 50949 - Vowel or Consonant
• 50881 - Exchange the Values
• 50937 - Calculate the Average
• 50947 - Calculate the Average
• 50964 - Increasing or Decreasing
• 50948 - Translate Score into Grade
• 51104 - Steel
• 51113 - The Menu
• 51112 - Even Numbers
• 51105 - Currency System

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Exchange the Value

Write a program that asks the user to type 2 integers A and B and exchange the value of A and B.

Input: In the first line you will get 2 different integers.

Output: After you exchange the values, you will display the values in the second line with a space between them..

Sample Input1:

Sample Input2:

4 6

-5 20

Sample  Output1:

Sample  Output2:

6 4

20 -5

 

Для отправки решений необходимо выполнить вход.

www.contester.ru