성적을 입력받아... 출력하는 sj.cc입니다!
실행됨니다!허나~~~
#include<stdio.h>
#include<iostream.h>
#include<string.h>
using namespace std;
class Person {
private : char name[10];
int kor,eng,mat,sum,top;
float ave;
public : void choice();
void input();
void output();
};
Person p[50], temp;
int i,j,su;
////// 학생수입력 함수 /////
void Person::choice() {
printf("\t 몇명의 학생을 입력하겠습니까? : ");
scanf("%d",&su);
}
//////입력문 함수 /////
void Person::input() {
printf("\t 학생의 이름과 점수를 입력하세요!\n");