摘要:
#include<stdio.h> int Max(int x,int y) { int r; if(x>y) r=x; else r=y; return r; } int main() { int a,b,c; printf("input a b:"); scanf("%d%d",&a,&b); 阅读全文
摘要:
#include<stdio.h> #include<string.h> main(){ int i=0; char str[50]="wo ai c yuyan"; while(str[i]!='\0'){ i++; } printf("%d\n",i); #include<stdio.h> ma 阅读全文
摘要:
#include<stdio.h> main() { int number[8]; int i; for(i=1;i<8;i++){ scanf("%d",&number[i]); } for(i=7;i>=1;i--){ printf("%d",number[i]); } } #include<s 阅读全文
摘要:
#include <stdio.h> #include <stdlib.h> #include <time.h> main(){ int x,guess; srand((unsigned int)time(NULL)); guess=rand()%100; while(1){ printf("请输入 阅读全文