请补充main函数,亥函数的功能是求方程ax2+bx+ e=0的两个实数根。方程的系数a、b、C从键盘输入,如果判别式(disc=b*b-4*a*c)小于0,则要求重新输入a、b、c的值。 例如,当a=1,b=2,c=1时,方程的两个根分别是:x1 =-1.00,x2=-1.00。 注意:部分源程序给出如下。 请勿改动函数中的其他任何内容,仅在横线上填入所编写的若干表达式或语旬。 试题程序: include
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】The New York Police Department (NYPD) announced it will form a new unit to search social media as part of the combined efforts against criminals. This is an official 1)____to criminals growing use of ...
【简答题】No Mercy, Kid! In the name of “zero tolerance,” our schools are treating innocent children like criminals. “Zero Tolerance” In High Schools On a chilly December morning in Houston, Eddie Evans’s 12-ye...
【简答题】Choose the correct words to complete the conversation. Write the letters. (There are two extra words.) a.arrested b.criminals c.hijacking d.robbery e.violence f.witnesses Luke: Have yo...