自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 实例3.4

 #include "stdio.h"main(){   int n=1;    float sum=0.0;      while((float)1/n>=1e-4)    {    sum=sum+(float)1/n;         n=n+2;    }    printf("sum=%f/n",sum);    getch();}

2010-12-02 17:17:00 254 7

原创 若干道100以内两个数的加法冰显示正确率

 #include "stdio.h"#include "stdlib.h"#include "time.h"main(){  int op1=0,op2=0,pupil=0,answer=0,right=0,total=0;   float  rate=0.0;     randomize();   do   {  op1=random(100);  

2010-11-19 14:47:00 384

原创 用DO WHILE 1-100的加法

 #include "stdio.h"#include "stdlib.h"#include"time.h"main(){   int i=0,sum=0;     do    { sum=sum+i;i++;    }    while (i    printf("%d/n",sum);    getch();}

2010-11-19 14:43:00 780

原创 实例3.4

 #include "stdio.h"main(){   int n=1;    float sum=0.0;      while((float)1/n>=1e-4)    {    sum=sum+(float)1/n;         n=n+2;    }    printf("sum=%f/n",sum);    getch();}

2010-11-19 14:40:00 191

原创 我的C语言作业

 #include{         int  i=0,sum=0      for  (i=0; i      {i=i+1,sum=sum+i      }    getch}

2010-11-18 17:56:00 229 4

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除