C程序设计第四版谭浩强_习题例题第.docxVIP

  • 14
  • 0
  • 约1.29万字
  • 约 39页
  • 2020-11-12 发布于天津
  • 举报

C程序设计第四版谭浩强_习题例题第.docx

PAGE PAGE # / 43 PAGE PAGE # / 43 第 7xx 函数 #include int main() { void print_star(); void print_message(); print_star(); print_message(); print_star(); return 0; } void print_star() { printf( H*********************************** \n); void print_message() { printf(How do you do!\n); } 例 int max(int x,int y) { int z; z=xy?x:y; return(z); } #include int main() { int max(int x,int y); int a,b,c; printf(please enter two integer number:); scanf(%d,%d,a,b); c=max(a,b); printf(max is %d\n,c); return 0; } 例 #include int main() { int max(float x,float y); float a,b; int c; printf(please enter t

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档