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.
Comments
Leave a comment