Problem2219--Find the smallest number

2219: Find the smallest number

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 0  Solved: 0
[Submit] [Status] [Web Board] [Creator:]

Description

This problem requires writing a function template for a function named minimum. The function will have two parameters of the same type. It returns the smaller of these (either if they are equal.) In carrying this out, give: a) a prototype (declaration) and preconditions for the function template b) a definition for this function. c) As a part of your answer, remark on the restriction of this function template to types for which operator< defined.

Input

Given two parameters of the same type.

Output

Output the minimum value

Sample Input Copy

-2,0

Sample Output Copy

-2

Source/Category

54