its very simple to share you let you try your luck....
best of luck if you dont want that how to run this program then free ask
Code: Select all
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication1;
import javax.swing.JOptionPane;
/**
*
* @author asif.javed
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
String totalnumber = JOptionPane.showInputDialog("How Many Card Number You Want");
int tnumber = Integer.parseInt(totalnumber);
String numb = JOptionPane.showInputDialog("Enter Number of Card Digit");
int cardnumb = Integer.parseInt(numb);
for(int i = 1; i <= tnumber; i++)
{
for(int j = 1; j <= cardnumb; j++ )
{
int ii = (int) (Math.random()*10);
System.out.print(ii+" ");
}
System.out.println();
}
}
}