create two class DM and DB which store the value of distances DM store the value in meter and centimeter, DB store the vlaue in feet and inches. write a program that can read value for the class object and add one object Use friend function to carry out the addition operation the object that stores which the result are required. The display should be in the format of feet and inches or meter and centimeter depending on the object on display.
aamaikusa 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.