Design a class called numdays the classs purpose is to


Design a class called NumDays. The class's purpose is to store a value that represents a number of work hours and convert it to a number of days. For example, 8 hours would be converted to 1 day, 12 hours would be converted to 1.5 days, and 18 hours would be converted to 2.25 days. The class should have a constructor that accepts a number of hours, as well as member functions for storing and retrieving the hours and days.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Design a class called numdays the classs purpose is to
Reference No:- TGS01478310

Now Priced at $10 (50% Discount)

Recommended (98%)

Rated (4.3/5)