Hi Everyone,
I have been trying to do this question but i dont really know how to start.
- Write a program which will read a string and rewrite it alphabetical order. For example, the word STRING should be written as GINRST.
I did this code, but im having some trouble finishing it off, especially with this part (STRING should be written as GINRST).
thanks in advance,
carly
I have been trying to do this question but i dont really know how to start.
- Write a program which will read a string and rewrite it alphabetical order. For example, the word STRING should be written as GINRST.
I did this code, but im having some trouble finishing it off, especially with this part (STRING should be written as GINRST).
Code:
Public static void main (String[]args){
InputStreamReader tr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader (in);
String s = new String();
thanks in advance,
carly
Comment