My problem with the program listed below is when the question asked for the title of the book and you type in more than one word with white spaces inbetween the words like "History of Me" it will skip the next question. Any help will be appreciated.
#pragma hdrstop
#pragma argsused
#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main()
{
char date[8];
int quantity;
char isbn[13];
char title [20];
float bookprice = 0.00;
//Sales slip information to be entered by user
cout << "Please enter the date in mm/dd/yy format:\n" ;
cin >> date;
cout << "Please enter the quantity being purchased:\n" ;
cin >> quantity;
cout << "Please enter the ISBN number for the book:\n" ;
cin >> isbn;
cout << "Please enter the title of the book:\n" ;
cin >> title;
cout << "Please enter the price of the book:\n" ;
cin >> bookprice;
system("pause");
return 0;
}