Given a string determine its alphabetically maximum substring
Answers
Answered by
0
Answer:
Explanation:
Note-'The following code is of python programming language'
str=input('Enter String=')
max=str[0]
for i in str:
if i>max:
max=i
print('Alphabetically max. substring=%s',max)
Similar questions
Computer Science,
6 months ago
English,
6 months ago
Environmental Sciences,
1 year ago
Sociology,
1 year ago
Math,
1 year ago
Math,
1 year ago