class Student
{
int m_weight, m_height;
char m_top_rank;
public :
void SetData(int height, int weight);
int GetWeight();
int GetHeight();
char GetTopRank();
friend void InitTopRank(Student &ob);
friend void GetTopWeight(Student &ob1, Student &ob2, Student &ob3);
friend void GetTopHeight(Student &ob1, Student &ob2, Student &ob3);
};
{
int m_weight, m_height;
char m_top_rank;
public :
void SetData(int height, int weight);
int GetWeight();
int GetHeight();
char GetTopRank();
friend void InitTopRank(Student &ob);
friend void GetTopWeight(Student &ob1, Student &ob2, Student &ob3);
friend void GetTopHeight(Student &ob1, Student &ob2, Student &ob3);
};
frend void GetTopWeight(Student &ob1,Student &ob2,Student &ob3)
세명의 몸무게 에서 가장 무거운 객체의 별표(*)를 세팅하고
가장 무거운 객체가 두 개 이상일 경우 모두 별표(*)를 세팅하게 구현하라는데
어떻게하는겁니까!!!!!
코드 작성해줘여..
코드 작성해줘여..
그래서 얼마? 선입금받음
3만정도는 받고 짜줘야겠지 금같은 주말인데
2만원 줄서봅니다.
야 너 누구냐 과제 니가해라