Implement an algorithm to determine if a string has all unique characters. The user will enters a
sentence and your job is to determine if there is repeating letter in the sentence.
1 2 3 4 5 6 7 8 9 10
#include <iostream>
#include <sting>
usingnamespace std;
int main()
{
string char;
cout << " Please enter a string of characters: "
getline(cin,char)
Disclaimer: I'm a beginner. There are probably much better ways to do this.
P.S. You should probably spend a couple of hours trying to understand this. Your homework is probably going to get much harder than this.