Create a class called Distance that has two data member feet as int type and inches as float type. Provide multiple constructors for the Distance class. One constructor should initialize this data to 0, and another should initialize it to fixed values. Also provide copy constructor to initialize Distance object with another object. Also provide get and set method for the class.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here