#include <stdio.h>int main(){ printf("max number is:%d",max(1,2,6));}
int max(int a,int b,int c){ int maxNum; maxNum=a; if (b>a ) maxNum=b; if (c>maxNum) maxNum=c; return maxNum;}
Powered by: C++博客 Copyright © 江边之鸟