Initialize a string of size 40. Write a program that prints all unique alphabets from a string.
Fantastic news! We've Found the answer you've been seeking!
Question:
Initialize a string of size 40. Write a program that prints all unique alphabets from a string. After printing them sort them in ascending order.
For example Hi world I am here to help you.
Unique characters are H, I, W, O, R, L, D, A, M, E, T, P, Y, U.
Sorted: A, D, E, H, I, L, M, O, P, R, T, U, W, Y
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Posted Date: