In line no..42 and 48 u hav forgot the '<' while writting the cout
check out for the syntax...
use
using namespace std;
for less errors..
a very gud programming....
hav a gud day.....