Hello, I have been working on my c++ code for quite sometime and have not been able to get the output correct in it. It is a mortgage calculator that asks the user for the mortgage amount, interest, payment amount, and loan duration. It then outputs it into columns.I have gotten help from several people but am having trouble with my first row, the columns do not align correctly. Any input or help would be appreciated.
Here is my real answer. You should just use the setw() function in your cout statements. It will set the answers to a specific width of chars. but in order to keep it left justified, it would have to look something like this.
Thank you for your reply. I did have that previously but the teacher has specified that I not use setw, since it is not in the lesson plan. Thats why im stuck