Answer:
word = input('Enter a single word: ', 's');
n = length(word);
nodupWord = [];
for i = 1:n
dup = false;
c = word(i);
for j = 1:i-1
if word(j) == c
dup = true;
break;
end
end
if ~dup
nodupWord = [nodupWord, c]; %add the non-duplicate char to end
end
end
disp(['Adjusted word: ', nodupWord])
Explanation:
The code is in Python.
Answer:
See attached picture for complete code.
Explanation:
See attached picture.
My name is Trisha Davis, I am a first year medical student and i love to read and write books. I hate lies and i love anyone who is honest.
<h3>What is self introduction?</h3>
My name is Trisha Davis, I am a first year medical student and i love to read and write books. I hate lies and i love anyone who is honest.
My goal in life is to be a medical doctor and also an entrepreneur. I love to help others and put smile on people's face. What i want from life is good health, favor and avenue to showcase my gifts to the world.
Learn more about self introduction from
brainly.com/question/26685169
#SPJ1