编辑代码

#include <stdio.h>
int main () {
    int a,b,c,i=0;
    printf("A,B,C三人所选书号分别为:\n");
    for(a=1;a<=5;a++){
        for(b=1;b<=5;b++){
            for(c=1;c<=5;c++){
                if(a!=b&&a!=c&&c!=b){
                    printf("A:%d B:%2d c:%2d",a,b,c);
                    j++;
                }
                if(i%4==0){
                    printf("\n");
                }
            }




        }
        printf("there has kind of way to browe those book:\n",i);

    }







    //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 
    printf("Hello world!     - c.jsrun.net.");
    return 0;
}