一道C语言作业 谁帮我做下啊.

学习 时间:2026-08-13 07:02:49 阅读:1569
一道C语言作业 谁帮我做下啊.write a program that will read five values of type double from the keyboard and store them in an array.Calculate the reciprocal of each value (the reciprocal of a value x is 1.0/x)and store it in a separate array.Output the values of the recipraocals ,and calculate and output the sum of the reciprocals.

最佳回答

丰富的小土豆

强健的蚂蚁

2026-08-13 07:02:49

#include void main(){ double num[5], result[5]; double sum=0。0; int i; for (i=0; i

最新回答共有2条回答

  • 洁净的月亮
    回复
    2026-08-13 07:02:49

    #include void main(){ double num[5], result[5]; double sum=0。0; int i; for (i=0; i

上一篇 FRUSTRATING和DISAPPOINTING的区别?

下一篇 交通事故作文