//This program is created by me (Nihal Sarki) in Java Programming, for any help or suggestion leave comment or message me on my WhatsApp Number 7908959416.
import java.io.*;
class FunGame
{
public static void main(String args[]) throws IOException
{
BufferedReader obj=new BufferedReader(new InputStreamReader(System.in));
int n=0, c=0, digit=0, i, small,rep;
System.out.print('\\u000C');
do{
System.out.print('\\u000C');
System.out.println("In which age you will get married");
System.out.println("Enter any number from 1 to 10 ");
int ch=Integer.parseInt(obj.readLine());
switch(ch)
{
case 1:
System.out.println("you will get married at 20");
break;
case 2:
System.out.println("you will get married at 19");
break;
case 3:
System.out.println("You will not get Married");
break;
case 4:
System.out.println("you will get married at 50");
break;
case 5:
System.out.println("you will get married at 25");
break;
case 6:
System.out.println("you will get married at 30");
break;
case 7:
System.out.println("you will get married at 25");
break;
case 8:
System.out.println("you will get married at 35");
break;
case 9:
System.out.println("you will get married at 59");
break;
case 10:
System.out.println("you will get married at 28");
break;
default:
System.out.println("Enter your correct choice");
}
System.out.println("Where you will go for the Honeymoon?");
System.out.println("Enter any number from 1 to 10 ");
int ch2=Integer.parseInt(obj.readLine());
switch(ch2)
{
case 1:
System.out.println("You will go to Shimla for Honeymoon");
break;
case 2:
System.out.println("You will go to America for Honeymoon");
break;
case 3:
System.out.println("You will go to Paris for Honeymoon");
break;
case 4:
System.out.println("You will go to Pakistan for Honeymoon");
break;
case 5:
System.out.println("Sorry, soon u will get Divorced");
break;
case 6:
System.out.println("You will go in Kashmir for Honeymoon");
break;
case 7:
System.out.println("You will go to Dubai for Honeymoon");
break;
case 8:
System.out.println("You will go to Goa for Honeymoon");
break;
case 9:
System.out.println("You will go to Africa for Honeymoon");
break;
case 10:
System.out.println("Sorry, soon u will get Divorced");
break;
default:
System.out.println("Sorry Enter your correct choice");
}
System.out.println("How many Children you will have?");
System.out.println("Enter any number from 1 to 10 ");
int ch3=Integer.parseInt(obj.readLine());
switch(ch3)
{
case 1:
System.out.println("You will have 5 children");
break;
case 2:
System.out.println("You will have 3 children");
break;
case 3:
System.out.println("You will have 2 children");
break;
case 4:
System.out.println("You will have 6 children");
break;
case 5:
System.out.println("You will have 1 children");
break;
case 6:
System.out.println("You will have 2 children");
break;
case 7:
System.out.println("You will have 2 children");
break;
case 8:
System.out.println("You will have 12 children");
break;
case 9:
System.out.println("You will have 1 children");
break;
case 10:
System.out.println("You will have 3 children");
break;
default:
System.out.println("Sorry Enter your correct choice");
}
System.out.println("Which job you will get?");
System.out.println("Enter any number from 1 to 10 ");
int ch5=Integer.parseInt(obj.readLine());
switch(ch5)
{
case 1:
System.out.println("You will get Police Job");
break;
case 2:
System.out.println("You will do Chane Bechne wala Bussiness");
break;
case 3:
System.out.println(" You are suitable for Toilet Cleaner");
break;
case 4:
System.out.println("You will became Officer");
break;
case 5:
System.out.println("Sry, I don't know");
break;
case 6:
System.out.println("You will be Doctor");
break;
case 7:
System.out.println("You will be Gangster");
break;
case 8:
System.out.println("You will be Sabji Wala");
break;
case 9:
System.out.println("You will be Puchka Wala");
break;
case 10:
System.out.println("You be Scientist");
break;
default:
System.out.println("Sorry you entered wrong choice");
}
System.out.println("In which age u will Die?");
System.out.println("Enter any number from 1 to 10 ");
int ch4=Integer.parseInt(obj.readLine());
switch(ch4)
{
case 1:
System.out.println("100");
break;
case 2:
System.out.println("Tum paida hi nahi hoga");
break;
case 3:
System.out.println("150");
break;
case 4:
System.out.println("Tum amar Ho");
break;
case 5:
System.out.println("65");
break;
case 6:
System.out.println("Sry, I don't know");
break;
case 7:
System.out.println("Me thodi Bhagwan Hu");
break;
case 8:
System.out.println("Tomorrw");
break;
case 9:
System.out.println("90");
break;
case 10:
System.out.println("Sry, I don't know");
break;
default:
System.out.println("Sorry you entered wrong choice");
}
System.out.println("Thank You for playing this Fun Game created by Nihal Sarki");
System.out.println("Do you want to play again?");
System.out.println("Type 1 for Yes and type 2 for NO");
rep =Integer.parseInt(obj.readLine());
}while(rep == 1);
System.out.println("Thank You for playing this Fun Game created by Nihal Sarki");
}
}