Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion RockPaperScissor/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ int main()
cout<<"Enter 1 for Rock.\n";
cout<<"Enter 2 for Paper.\n";
cout<<"Enter 3 for Scissor.\n";
cout<<"Enter your choice:\n";
cout<<"Enter your choice: ";
cin>>uc;
cout << endl;

cc = a[(rand() % 3)]-1;

Expand Down Expand Up @@ -80,6 +81,7 @@ int main()
cout<<"Tie!\n";
}

cout << endl;
cout<<"Do you want to play again?\n";
cout<<"Enter 1 for YES.\n";
cout<<"Enter 2 for NO.\n";
Expand Down