You are on page 1of 6

Importjava.io.*; class Passport { public static void main(String args[])throws I.OException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println(PASSPORT); System.out.

println(Enter 1 if you want to renew yr passport and 2 if you want to make a new passport); int n= Integer.parseInt(br.readLine()); if (n==1) { System.out.println(enter 1 if you want to renew your 18 below passport into 18 above and 2 if you want to renew your 18 above passport); int E= Integer.parseInt(br.readLine()); if (E==1)

{ System.out.println(pls give your voter id and your DL code and your 18 below passport code); int vi= Integer.parseInt(br.readLine()); int DL= Integer.parseInt(br.readLine()); int PC= Integer.parseInt(br.readLine()); if ((vi!= )&&(DL!= )&&(PC!= )) { System.out.println ( your passport will be renew in few days); }} if(E==2) { System.out.println(Enter the year till you want your passport to be valid); int y= Integer.parseInt(br.readLine()); System.out.println ( give your rasan ID & PC code); int RC= Integer.parseInt(br.readLine());

int pcc = Integer.parseInt(br.readLine()); if ((RC!= )&&(pcc!= ) { System.out.println ( your passport will be renew in few days+y+years); } } } else (n==2) { System.out.println(enter your ages); int a = Integer.parseInt(br.readLine()); if ((a<=13)||(a<=18)) { System.out.println(iter1if your mom or dad passport is made and 2 if not); int m= Integer.parseInt(br.readLine());

{ System.out.println(give your mom PC); int tn = Integer.parseInt(br.readLine()); if (tn!= ) { System.out.println(your passport will be made in few days); }} if (m==2) { System. out.println (Enter your address name & bod); string ad = br.readLine(); string nm = br.readLine(); if ((ad!= )&&(nm!= ) { System.out.println(your passport will be made in few days); }}

if (a<=13) {
System.out.println(your passport will be valid till you are 13 below); } else { System.out.println(your passport will be valid till you are 18 below); }} else (a>18) { System.out.println(enter your name); string me=br.readLine(); System.out.println(enter your age); int g= Integer.parseInt(br.readLine()); System.out.println(enter your voter ID); int v= Integer.parseInt(br.readLine());

System.out.println(enter your dl code); int cod= Integer.parseInt(br.readLine()); if ((cod!= )&&(v!= )&&(g!= )) { System.out.println(your passport will be made in few days); }}} System.out.println(T H A N K S F O R V I S I T I N G);

}}

You might also like