Westonci.ca makes finding answers easy, with a community of experts ready to provide you with the information you seek. Ask your questions and receive precise answers from experienced professionals across different disciplines. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

Write a program that repeatedly asks the user to enter two measurement units: yards, feet
and inches. In this measurement system, there is 3 feet in one yard and 36 inches in one
yard. The program should then add the two units and display the answer, again in yards,
feet, and inches. Use a do loop that asks the user whether the program should be
terminated. Typical interaction might be
Enter first measurement: 1.1.10
Enter second measurement: 3.2.11
Total is 5.1.9
Do you wish to continue (y/n)?
To add two measurement unit, you'll need to carry 1 feet when the inch value is greater
than 11, and carry 1 yard when there are more than 2 feet. Note that 1.1.10 means 1 yard,
1 foot and 10 inches.
C++​


Sagot :

Thank you for visiting our platform. We hope you found the answers you were looking for. Come back anytime you need more information. We hope our answers were useful. Return anytime for more information and answers to any other questions you have. We're glad you chose Westonci.ca. Revisit us for updated answers from our knowledgeable team.