struct _st{
int 총점;
int 순위;
}std[10];
int i, j, s;
for(i=0; i<10; i++){
s = 1;
for(j=1; j<10; j++) if(std[i].총점<std[j].총점) s++;
std[i].순위 = s;
}
정보처리 기사 시험 준비하면서^^;
실기 시험 C로 본다고 신청함 ㅋㅋ
PrevPrev Article
NextNext Article
ESCClose