double a,b;
cout<<"Enter Value";
cin>>a>>b;
jus a simple program...whenever a character is Key in ..the program error.i know is because of the double only for integer.how can i edit it so that it will return me a cout<<"U have to enter a integer"; when character is enter. anyone can help ? is it i have to change them to string?