Create a class distance with the following instance variables:feet,inches of integer and float type respectively.Write the following functions that interact with the instance variables and methods:set(int m,float n)->to set the values of m and n to feet and inches respectively.show()->to display the distance in the format The distance is 5'3.5".Also write the main() method to test the mentioned class
agrwalkhush2499:
In which programming language ?
Answers
Answered by
0
I don't know sorry but ask someone around you they might know
Similar questions
Math,
6 months ago
Math,
6 months ago
Social Sciences,
1 year ago
Science,
1 year ago
Science,
1 year ago