• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

cxr119911

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

上一页 1 2 3 4 5 6 下一页

2016年12月4日

No.15 分区发放资金问题

摘要: #include "stdio.h"#include "stdlib.h"int main(){float li,jiang; printf("Input li:\n"); scanf("%f",&li); while(li<=0) {printf("Data Wrong!\n");system(" 阅读全文

posted @ 2016-12-04 17:17 cxr119911 阅读(103) 评论(0) 推荐(0)

No.14 无重复数字的三位数

摘要: #include "stdio.h"#include "stdlib.h"int main(){int i,j,k; printf("Input i,j,k:\n"); for(i=1;i<5;i++) for(j=0;j<5;j++) for(k=0;k<5;k++) {if(i!=j&&j!=k 阅读全文

posted @ 2016-12-04 16:58 cxr119911 阅读(99) 评论(0) 推荐(0)

2016年12月3日

No.13 成绩排序

摘要: #include "stdio.h"#include "stdlib.h"void px(float score1[],long int num1[],int n1);void main(){int i,n; float score[50]; long int num[50]; printf("In 阅读全文

posted @ 2016-12-03 20:51 cxr119911 阅读(124) 评论(0) 推荐(0)

No.12 判断质数

摘要: #include "stdio.h"#include "math.h"#include "stdlib.h"int pd(int k);int main(){int x; printf("Input x:\n"); scanf("%d",&x); if(x<=1) printf("Wrong!\n" 阅读全文

posted @ 2016-12-03 14:12 cxr119911 阅读(137) 评论(0) 推荐(0)

No.11 调用阶乘函数

摘要: #include "stdio.h"#include "stdlib.h"unsigned int jc(unsigned int x);void main(){int m,k; double p; printf("Input m,k:\n"); scanf("%d,%d",&m,&k); p=(d 阅读全文

posted @ 2016-12-03 11:40 cxr119911 阅读(190) 评论(0) 推荐(0)

No.10 while语句统计体重

摘要: #include "stdio.h"#include "stdlib.h"void main(){int n=0; float min=50,max=0,weight,sum=0,ave; printf("Input weight:\n"); scanf("%f",&weight);while(we 阅读全文

posted @ 2016-12-03 10:01 cxr119911 阅读(150) 评论(0) 推荐(0)

2016年12月2日

No.9 指针变量,猜数游戏

摘要: 1.&*j=j; 2.do{}while() 当while后面不成立时,执行do后面/当while后面成立时,中止do; 3.随机产生1-100的整数:magic=rand()%100+1; 4.输出数组:pus(str);输入数组:gets(str)。 阅读全文

posted @ 2016-12-02 22:50 cxr119911 阅读(95) 评论(0) 推荐(0)

No.8 加法函数调用

摘要: #include "stdio.h" #include "stdlib.h" int jiafa(int s,int t); int main() {int i,j,k; printf("Input i,j:\n"); scanf("%d,%d",&i,&j); k=jiafa(i,j); prin 阅读全文

posted @ 2016-12-02 16:52 cxr119911 阅读(317) 评论(0) 推荐(0)

No.7 连接数组

摘要: "stdio.h" #include "string.h" #define ARR_SIZE 80 void lianjie(char str1[],char str2[]); int main() {char s[ARR_SIZE],t[ARR_SIZE]; printf("Input s:\n" 阅读全文

posted @ 2016-12-02 16:51 cxr119911 阅读(81) 评论(0) 推荐(0)

2016年11月29日

No.6 中断记录

摘要: 中断了几天,后面补上。 阅读全文

posted @ 2016-11-29 14:10 cxr119911 阅读(111) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3