Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- T maxnum(T num1, T num2)
- {
- return (num1 > num2) ? num1 : num2;
- }
- int main(){
- cout << maxnum(100, 20) << endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement