AardvarkBusiness.net - Business Search Engine AardvarkBusiness.net - Business Search Engine

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


The queation about JAVA

Post new topic   Reply to topic    AardvarkBusiness.net Forum Index -> Programming Forum
View previous topic :: View next topic  
Author Message
Bishal Giri

Joined: 17 Jul 2013
Posts: 12

29 ants

PostPosted: Wed Jul 17, 2013 8:56 am    Post subject: The queation about JAVA Reply with quote

Modify the quick sort algorithm to sort an array list of strings in "dictionary" order. This order is not case sensitive, so it will treat uppercase and lowercase letters as being equal. All non-alphabetic characters (i.e., punctuation marks, digits, etc.) are to be ordered according to their ASCII code sequence, but all of them are considered to precede any alphabetic character.
You must also write a test program to test your algorithm. In that program, have the user enter the name of a text file from the keyboard. Your program will treat the text file as simply a list of words. The output must be written to a file with the same base name, but with the extension ".srt". So, if the input file name is "myfile.txt", the output file must be named "myfile.srt".
Please give me the complete answer.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AardvarkBusiness.net Forum Index -> Programming Forum All times are GMT + 1 Hour
Page 1 of 1

Business Forum Sport Forum Travel Forum

Powered by php B B © 2001, 2002 php B B Group

AardvarkBusiness.net Business Search Engine & Directory