Question: Initialize a string of size 40. Write a program that prints all unique alphabets from string. After printing them sort them in ascending order. For

Initialize a string of size 40. Write a program that prints all unique alphabets from 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

Note: Do this program in c++. You are not allowed to use any kind of function. You can only use, loops, if, else, break, continue, arrays to do this question. DO NO USE ANYTHING ELSE THAT IS NOT MENTIONED IN THIS LIST PLEASE.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!