Created
November 30, 2013 15:41
-
-
Save raziyeaydin/7720577 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rzydn.rsa.SayiIste; | |
import javax.swing.JOptionPane ; | |
public class SayiIste { | |
static int p,q ; | |
static void sayi_al(){ | |
String sayi1 = JOptionPane.showInputDialog("asal bir sayı girin:"); | |
p = Integer.parseInt(sayi1); | |
String sayi2 = JOptionPane.showInputDialog("asal bir sayı daha girin:"); | |
p = Integer.parseInt(sayi2); | |
} | |
public static void main(String[] args) { | |
sayi_al(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment