自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 尼玛 根本不会

#include"stdio.h"#define N 45int inputSS(char names[][20],int score[],int num);void printSS(char names[][20],int score[],int num);void getMAX(char names[][20],int score[],int num);int main(){ c

2014-05-20 20:33:50 567

原创 week 9

#include "stdio.h"void love(){ printf("say hello!");}int main(){ love();}

2014-04-22 20:38:54 511

原创 给一维数组赋值并按条件输出的问题

#include#include#include#define N 100int main(){ int a[N]; int i,o; srand((unsigned)time(NULL)); for(i=0;i<N;i++) { a[i]=rand()%N; if(a[i]>=50) printf("a[%d]=%d\n",i,a[i]); }

2014-04-18 11:21:37 1009

原创 用数组储存学号且学号不重复

#include#include#include#define NUM 7int main(){ int student[NUM]; int i,o,p; srand((unsigned)time(NULL)); for(i=1;i<=NUM;i++){ o=(rand()%45)+1; for(p=1;p<=i-1;p++){ if(o==studen

2014-04-18 00:41:36 1370

原创 关于生成更加随机的数的程序

#include#include#includeint main(){ srand((unsigned)time(NULL)); int i,o; for(o=1;o<=7;o++) { i=(rand()%45)+1; printf("%d\n",i); } return 0;}

2014-04-17 22:51:33 470

原创 week 8

1.#include#includeint main(){ int i; i=rand(); printf("the random number is %d\n",i);}

2014-04-15 20:29:08 432

原创 week7晚作业

#include "stdio.h"main(){ int a[4][5]; int x,y; for(x=0;x<4;x++) { for(y=0;y<5;y++) { scanf("%d",&a[x][y]); } } for(y=0;y<5;y++) { for(x=0;x<4;x++) {

2014-04-08 20:39:14 476

原创 愚人节晚作业

1.小数显示位数#include "stdio.h"main(){ float i; scanf("%f",&i); printf("%8.4f\n",i); printf("%09.3f",i); }2.八进制 十进制 十六进制 #include "stdio.h"main(){ int i; scanf("%d",&i); printf(

2014-04-01 21:31:38 584 1

原创 嘿嘿~~爱你哦

猪头~~额耐你

2014-03-10 20:51:44 490

空空如也

空空如也

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

TA关注的人

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