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
2 changes: 1 addition & 1 deletion Anagram/Anagram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ int main()
flag = 1;
}

if(flag == 0)
if(!flag)
cout << "Given strings are anagrams " << endl;
else
cout << "Given strings are not anagrams" << endl;
Expand Down