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.



Answer :

Other Questions