import java.io.*;
import java.util.Scanner;
public class PUK
{
public static void main(String args[])
{
Scanner input=new Scanner(System.in);
int P=0;
for(int d=1;d<=3;d++)
{
System.out.println("Enter PUK Code:");
P=input.nextInt();
if(P==1010)
{
System.out.println("Successfully Opened!!");
d=d+3;
}
else
{
System.out.println("Try Another Password");
}
}
if(P!=1010)
{
System.out.println("SIM Block");
}
}
}
learn and enjoy reading my blogs...
No comments:
Post a Comment