Two classes Degree and Radian are given.

a) Two classes Degree and Radian are given. Both classes have deg and rad data members in
float respectively. Define classes such that they support the statement:
Rad_obj = Deg_obj;
Write a complete program which convert object of Degree to object of Radian. Define
conversion function in source class. (1 radian = degree ×  / 180)

Leave a Reply