The java program to print India map with quote and your NAME.

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

Screen Shot 1938-05-24 at 1.51.11 pm

 

 

TECH10MENT is a Tech Enthusiast, avid reader, and loves to talk business. TECH10MENT was his 1st professional tech magazine started in 2015. His professional blogging experience serves thousands of visitors every day on the food, travel, and other tech sites.

5 COMMENTS

Comments are closed.