Thread
:
"C++ lottery" with letters and words
View Single Post
#
2
(
permalink
)
July 15th, 2005, 01:16 AM
kumar_raj13
Authorized User
Join Date: Jul 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
For 'a' you have to use data type char instead of int.
Like
char i;
cout<<"gfgfgfsgs";
cin>>i;
if(i=='a')
and then it will be ok.
rajkumar
kumar_raj13
View Public Profile
Find all posts by kumar_raj13