성적표
-
C++ 성적표 관리 프로그램Programming/C++ 언어 2008. 8. 12. 21:01
#include #include using namespace std; int main() { int S1_No, S2_No, S3_No; // 학번 int S1_Kor, S2_Kor, S3_Kor; // 국어 점수 int S1_Math, S2_Math, S3_Math; // 수학 점수 int S1_Eng, S2_Eng, S3_Eng; // 영어 점수 float S1_Ave, S2_Ave, S3_Ave; // 개인 평균 float TotalAve = 0.0f; // 전체 평균 int NumberOfStudent = 0; // 현재까지 입력된 학생수 while(1) { cout