文章标题
来源:互联网 发布:程序员写博客写什么 编辑:程序博客网 时间:2024/06/05 00:08
#include <stdio.h>#include <stdlib.h>#include<math.h>int main(){ float a,b,c,x1,x2; printf("从键盘上依次输入:a,b,c\n"); scanf("a=%f,b=%f,c=%f",&a,&b,&c); x1=((b*(-1))+sqrt(b*b-4*a*c))/(2*a); x2=((b*(-1))-sqrt(b*b-4*a*c))/(2*a); printf("x1=%f,x2=%f\n",x1,x2); return 0;}
阅读全文
0 0
- 文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题 文章标题 文章标题 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- DrawerLayout
- string与CString,int,char[],char*之间的转换
- 基于生长的棋盘格角点检测方法--(1)原理介绍 .
- 实验五:用callback增强链表模块来实现命令行菜单小程序V2.8
- Python sorted()的用法
- 文章标题
- C_笔记整理_3
- 数进制转化问题
- java-集合Map接口
- hdu 5536 Chip Factory(字典树)
- 欧几里得(gcd) + 拓展欧几里得(ext_gxd)
- QT5.9.1与opencv3.3读取图片
- ajax请求status为canceled的原因浅析
- 基于生长的棋盘格角点检测方法--(2)代码详解(上)