Westonci.ca is the Q&A platform that connects you with experts who provide accurate and detailed answers. Our Q&A platform provides quick and trustworthy answers to your questions from experienced professionals in different areas of expertise. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

Write a C++ program that uses a while loop to check on an input value. Ask the user for their monthly phone bills for a year. Check that the input is > 0. if it is not, use the continue. Store the bill values in a vector. Display the vector when the 12 values have been entered. Be sure to display $ and show 2 decimal places for money variables. When you ask for the monthly bill, include the name of the month the bill is for. Also, when you display the 12 bills, display the corresponding month name for each bill. Do this by creating a parallel vector of month names that can be used to display the name of the month using its index.

Sagot :