#include <iostream.h>
typedef unsigned short int USHORT;
class wish
{
public:
char myname[30];
int myage;
int myweight;
};
void checkweight(int weight);
void main()
{
// USHORT width=5;
// USHORT length=6;
// USHORT area;
// area=width*length;
// cout << area;
wish sch;
cout << "이름?";
cin >> sch.myname;
cout << "나이?";
cin >> sch.myage;
cout << "몸무게?";
cin >> sch.myweight;
cout << sch.myname << sch.myage << sch.myweight;
checkweight(sch.myweight);
}
void checkweight(int weight)
{
if (weight>=70)
cout << "살좀빼라";
else
cout << "밥좀먹어라";
}