Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #72.8K
~3K People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for xoxmikestersxox

see its mine code...its bit easy #include<iostream> #include<cstdlib> #include<string.h> using namespace std; void drawing(int draw); int main() { string theword; int randword; string words[22]={"fat","bat","mat","sat","dad","lad","cat","mom","bun","sun","fun","run","rat","tom","cop","mop","man","van","hat","red","app","sap"}; int draw=1; string ans; randword=rand()%22; theword=words[randword]; for(int i=0;i<22;i++) {words[i]='x'; }cout<<"\t\t\t\tWelcome To Hangman\n"; cout<<"\t\t\t\t********************\n"; cout<<"The word list is:\nfat\tbat\tmat\tsat\tdad\tlad\tcat\tmom\tbun\tsun\tfun\trun\trat\ttom\tcop\tmop\tman\tvan\that\tred\tapp\tsap\n"; cout<<"\nguess the right word\n"; while(draw<=8) { drawing(draw); cout<<"\n\nguess the …

Member Avatar for MUGDHA_2
0
179
Member Avatar for ellaine101591

beginners can try this...hangman game ...its damm easy!! #include<iostream> #include<cstdlib> #include<string.h> using namespace std; void drawing(int draw); int main() { string theword; int randword; string words[22]={"fat","bat","mat","sat","dad","lad","cat","mom","bun","sun","fun","run","rat","tom","cop","mop","man","van","hat","red","app","sap"}; int draw=1; string ans; randword=rand()%22; theword=words[randword]; for(int i=0;i<22;i++) {words[i]='x'; }cout<<"\t\t\t\tWelcome To Hangman\n"; cout<<"\t\t\t\t********************\n"; cout<<"The word list is:\nfat\tbat\tmat\tsat\tdad\tlad\tcat\tmom\tbun\tsun\tfun\trun\trat\ttom\tcop\tmop\tman\tvan\that\tred\tapp\tsap\n"; cout<<"\nguess the right word\n"; while(draw<=8) { drawing(draw); …

Member Avatar for MUGDHA_2
0
3K

The End.