import java.io.*;
class Ascending
{ public static void main(String[] args)throws IOException
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.println("enter the number of strings");
int n=Integer.parseInt(br.readLine());
String s[]=new String[n];
for(int i=0;i<n;i++)
{ System.out.println("enter the string");
s[i]=br.readLine();
}
System.out.println("the strings in ascending order are");
for(int i=0;i<n-1;i++)
{ for(int j=0;j<(n-(i+1));j++)
{
if(s[j].compareTo(s[j+1])>0)
{
String s1=new String();
s1=s[j];
s[j]=s[j+1];
s[j+1]=s1;
}
}
}
for(int i=0;i<n;i++)
System.out.println(s[i]);
}
}
The most common method to Hide your IP address is to use a PROXY server. Proxy server is a computer network service that provides an indirect connections between other computer networks. By using this proxy sites we can access any website with out revealing our IP address. This is the best method to keep your IP address secure. Here is the free proxy server website link. http://www.freeproxyserver.ca/ We need to type the URL of such as (www.facebook.com) in the box given in the site, then we can browse it with out providing our IP address
Comments
Post a Comment