04-24-2011, 05:32 PM
#include <iostream.h>
main()
{
char cusName;
char carModel;
cout<<"please enter customer name";
cin>>cusName;
cout<<"please enter car model";
cin>>carModel;
system('pause');
return 0;
}
in this program when program runs it doesnot prompt to take carModel.
what is the reason???
main()
{
char cusName;
char carModel;
cout<<"please enter customer name";
cin>>cusName;
cout<<"please enter car model";
cin>>carModel;
system('pause');
return 0;
}
in this program when program runs it doesnot prompt to take carModel.
what is the reason???
