Chinaunix首页 | 论坛 | 博客

发布时间:2014-12-16 16:36:21

#include<stdio.h>int jiefangcheng(double a,double b,double c){  if(b*b-4*a*c<0) {  return 0; } else if(b*b-4*a*c==0) {  return 1; } else if(b*b-4*a*c>0) {  return 2; }}int main(){ double a.........【阅读全文】

阅读(1385) | 评论(0) | 转发(0)

发布时间:2014-12-15 11:32:45

#include<stdio.h> double calcutotor(double a,double b,char myoperator) { if(myoperator=='+')  {   return a+b;  } else if(myoperator=='-')  {   return a-b;  } else if(myoperator=='*') .........【阅读全文】

阅读(1458) | 评论(0) | 转发(0)

发布时间:2014-12-09 14:05:33

#include <stdio.h>int main(){     int a,b;     a=1;     b=1;     while(1)     {          while(1)   .........【阅读全文】

阅读(1383) | 评论(0) | 转发(0)

发布时间:2014-12-01 11:38:02

#include <stdio.h>int main() { int a,b,c; scanf("%d%d%d",&a,&b,&c); if (a>b&&a>c) { printf("%d\n",a); return 0; } else if(a>c&&c>b) { printf("%d\n",a); return 0; } else if(b>a&&b>c) { printf("%d\n",b); .........【阅读全文】

阅读(1557) | 评论(0) | 转发(0)

发布时间:2014-11-28 18:13:11

#include <stdio.h>int main(){ float shuxue, yuwen, wuli, huaxue; float sum; int select; shuxue=134; yuwen=111; wuli=99; huaxue=100; scanf ("%d",&select); switch(select) {  case 1:  printf("shuxuechengjishi%.1.........【阅读全文】

阅读(1526) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

孙超越2014-11-22 09:52

赞一个

回复  |  举报
留言热议
请登录后留言。

登录 注册