Advertisement
MasterGun

Untitled

May 23rd, 2020
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. T maxnum(T num1, T num2)
  2. {
  3. return (num1 > num2) ? num1 : num2;
  4. }
  5. int main(){
  6. cout << maxnum(100, 20) << endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement