Tag: C

ASCII

12345678910111213141516171819202122//怎么给字母按照ASCII码大小来排序#include<stdio.h>int main(){char a,b,c;while(scanf(" %c%c%c",&a,&b,&c)!=EOF) //加个空格,第二个也一样{if((a<b)&&(b<

Right here

Write down some tips about for loop. 123456789101112131415161718192021#include<stdio.h>int main(){int T,flag=0;scanf("%d", &T);while(T--){if(flag==1) printf("\n");else flag=1;int