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

cxr119911

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

公告

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)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3