正在加载图片...
Example Two C programs for finding the sum and maximum of 10 numbers *程序1:求10个数之和* *程序2:求10个数中的最大值* nclude <stdio.h≥ #include <stdio.h> main() main() int is=0; int is, inta[10={66,55,75,42,86,77,96,89,78,56 imta[10={66,55,75,42,86,77,96,89,78,56}; for(i=0i<10++) s=a则; s=s+a; fori=1i<10i++) printf%ds), if(s<a间)s=a]; printf%d"s),Example:Two C programs for finding the sum and maximum of 10 numbers 7
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有