Computer Science, asked by singhtvisha52, 8 months ago

Write a program to accept a word and arrange the alphabets in descending order.
plzzz no spam!!​

Answers

Answered by Daniel2061
0
I know this answer but first you should make me as brainlist
Answered by BrainlyPrince727
1

The program should print the alphabets in the string in descending order.

Example 1: Input: cake. Output: keca.

Example 2: Input: innovation. Output: vtonia.

Program: #include<string.h> { char arr[10000],final[10000];//to get the string. int index=0,check=0; scanf(“%s”,arr); //for loop to cancel duplication of alphabets.

thanks

mark me as brainliest

Similar questions