We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#include<stdio.h> int main() { char b[8]; int i,j; char a[7]={'a','b','c','d','e','f','g'}; for(i=0;i<7;i++) { j=6-i; b[j]=a[i]; printf("%c",b[j]); } printf("\n"); printf("%s\n",b); return 0; }
#include<stdio.h> int main() { int a[10]; int i,j,t; printf("输入10个数字:\n"); for (i=0;i<10;i++) scanf("%d",&a[i]); printf("\n"); for (j=0;j<9;j++) for (i=0;i<9-i;i++) if(a[i]>a[i+1]) { t=a[i]; a[i]=a[i+1]; a[i+1]=t; } printf("排序好的数字:\n"); for (i=0;i<10;i++) printf("%d ",a[i]); return 0; }
#include<stdio.h> int main() { double i,a,b,c,j; double sum; sum=0; a=2; b=1; for(i=2;i<=20;i++) { c=a; a=a+b; b=c; j=a/b; sum=sum+j; } sum=sum+2/1; printf("%f",sum); return 1; }
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
注意Markdown语法
No branches or pull requests
倒叙排列
冒泡排序
数列前二十项求和
The text was updated successfully, but these errors were encountered: