<{p}>以下程序的功能是求数组num中小于零的数据之和。请分析程序填空。<{br/}>int main()<{br/}>{int num[20]={2,-3,51,-72,86,4,0,-23,3,-65,-1,0,5,8,2,-4,-7,-9,4,-8};<{br/}> int sum=0,i;<{br/}> for(i=0;i<20;i++)<{br/}> if(__________) sum=_________________;<{br/}>printf("sum=%d
",sum);<{br/}>}<{br/}><{/p}>
发布于 2023-03-06 16:29:57
- 体验AI问答!更聪明、超智能!
- 一款基于GPT的超级AI助手,可以对话、创作、写文案!