《C语言程序设计》第三版课后习题答案1 - C++资料.docxVIP

  • 3
  • 0
  • 约3.35万字
  • 约 34页
  • 2024-01-18 发布于四川
  • 举报

《C语言程序设计》第三版课后习题答案1 - C++资料.docx

}9.3/*输入三角形的三条边,求其面积*/#includemath.h#definS(a,b,v);printf(\n反序数字为:);printf(%d%d%d\n,indiv,ten,str[];{chart;inti,j;for(i=0,j=strlen(str);istrlen请输入一个整数(0-99999):);scanf(%ld,num);if(num9999

}9.3/*输入三角形的三条边,求其面积*/#includemath.h#definS(a,b,

v);printf(\n反序数字为:);printf(%d%d%d\n,indiv,ten,

str[];{chart;inti,j;for(i=0,j=strlen(str);istrlen

请输入一个整数(0-99999):);scanf(%ld,num);if(num9999

************

VeryGoodj!

************

解:

main()

{

printf(************\n);

printf(\n);

printf(VeryGood!\n);

printf(\n);

printf(************\n);

}

1.6编写一个程序,输入abc三个值,输出其中最大者。

解:main()

{inta,b,c,max;

pri

文档评论(0)

1亿VIP精品文档

相关文档