i have a problem i want to output a given string in desending order also by taking out a letter each time.
For example: The user gives a word - ARRAY
It outputs: ARRAY
RRAY
RAY
AY
Y
how do i get the user’s word and make it output it this way. thanks.