Explore BrainMass

Intro to C++

Would like you to check and correct this problem.

When the program is ran it is supposed to look like this on the screen.

Serendipity Booksellers


Qty ISBN Title Price Total


Thank You for Shopping at Serendipity!

(This is my program)

int main()

cout << "Serendipity Booksellers" ; endl;

cout << "Date:"; endl;

cout << " List Qty, ISBN, Title, Price, and Total on one line"; endl;
cout << "Place a line under this list"; endl;

cout << "Indent Subtotal Line"; endl;
cout << "Indent Tax Line"; endl;
cout << "Indent Total Line"; endl;

cout << "Thank You for Shopping at Serendipity!"; endl;

cout << endl;

Solution Preview

The correct one should be this(also in the attached file):

#include <iostream>

int main()

cout << "Serendipity Booksellers" << endl; ...