I am trying to make a cout<<intRate<<"\t\t"; statement start out in different position then cout <<"\t\t"<<monPayment;. My problem is aligning rate and payment values.
What I am getting for the output:
Principal Interest Rate
0.07 0.075 0.08 0.085 0.09 0.095 0.1
_______________________________________________________________
100000 665.302 699.215 733.765 768.913 804.623 840.854 877.572
________________________________________________________________
Interest rate is greater than .10 and the value is.105
I am trying to make it look like this:
Principal Interest Rate
0.07 0.075 0.08 0.085 0.09 0.095 0.1
_______________________________________________________________
100000 665.302 699.215 733.765 768.913 804.623 840.854 877.572
________________________________________________________________
Interest rate is greater than .10 and the value is .105
Where 0.07 is aligned with 665.302
It’s difficult to tell from your question, but it sounds like you’re looking for
iomanip.Output: