public class FakeNumber
{
public static void main (String[] args)
{
System.out.println ("Are you desperate for a lover? Do you really need someone to talk to? If so, call:");
System.out.println ();
System.out.print ( (int) (Math.random () * 888) + 111);
System.out.print ("-");
System.out.print ( (int) (Math.random () * 888) + 111);
System.out.print ("-");
System.out.print ( (int) (Math.random () * 8888) + 1111);
}
}
{
public static void main (String[] args)
{
System.out.println ("Are you desperate for a lover? Do you really need someone to talk to? If so, call:");
System.out.println ();
System.out.print ( (int) (Math.random () * 888) + 111);
System.out.print ("-");
System.out.print ( (int) (Math.random () * 888) + 111);
System.out.print ("-");
System.out.print ( (int) (Math.random () * 8888) + 1111);
}
}
(0) Comments
Post a Comment