The program to print India map.
import java.io.*;
public class india
{
static String yourname=”Rana Jayant”;
public static void main(String[] args) throws Exception
{
String obfs=”TFy!QJu ROo TNn(ROo)SLq SLq ULo+UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^NBELPeHBFHT}TnALVlBLOFAkHFOuFETpHCStHAUFAgcEAelclcn^r^r\\tZvYxXyT|S~Pn SPm SOn TNn ULo0ULo#ULo-WHq!WFs XDt!”;
int x = 10, y = 0, z = 10;
x = obfs.charAt(y);
while (x != 0)
{
if (y < 170)
{
x = obfs.charAt(y);
y++;
while(x > 64)
{
x–;
if(++z == ‘Z’)
{
z /= 9;
System.out.print((char)(z));
}
else
System.out.print((char)(33 ^ (y & 0x01)));
}
}
else
break;
}
System.out.println(“\n”);
System.out.println(“India conquered and dominated China culturally for 20 centuries without ever having to send a single soldier across her border!”);
System.out.println(“\n \n \n \b I proud to be an Indian “+yourname);
}
}
copy and save above code with india.java
Execution :
javac india.java
java india
# Replace Tech10ment.com with your name in 3rd line.
You will get the output like this