Write a program that allows a user to enter 10 floating-point values into an array. Then,
in a loop, the program should prompt the user for a desired precision and subsequently
display each value to the correct precision. The loop continues prompting for a precision
and displaying the 10 values until the user enters a negative value for the precision. Save
the file as PrecisionRequest.cpp.
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-50915.pdf
Comments
Leave a comment