Conditional operator




Task
Time limit: 1000 ms,
Memory limit: 256 Mb

Two integers a and b are given. The smaller of the two numbers is doubled, and the larger is triple.

Input: 2 integers are entered from the keyboard

Output: you need to output the converted numbers, first the converted number a, then b

Example
№  Input Output
1 3 5 6 15

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: