Its for C++, Im having alot of trouble with this in my coding club. only buy only
Question:
Its for C++, Im having alot of trouble with this in my coding club.
only buy only 1/1.03 of $970.87. or 942.59 worth of goods. Write a program that allows the user to enter an annual rate of inflation between 1 percent and 10 percent, and which then displays a table showing how much $1,000 today will be worth each year for the next 10 years. Input Validation: Decide how the program should handle rates less than zero. Using Const to
represent starting value, min inflation rate, and maximum inflation rate Display formatted results, using fixed, and setpercision(2) Enter the annual zate of inflation between 0.01 and 0.10): .03 Year Worth Current 1000.00 1 2 3 56 JOWN 5 6 7 8 9 10 970.67 942.60 915.14 888.49 B62.61 837.48 B13.09 789.41 766.42 744.09 Enter the annual rate of inflation (between 0.01 and 0.10): -4 Inflation zate must be betsueen 0.01 and 0.10 Re-enter zate: 1