| Discussion: | All Topics |
| Topic: | modular arithmetic |
| Related Item: | http://mathforum.org/mathtools/tool/204/ |
| Post a new topic to the support: Clocks and Modular Arithmetic Dialogue discussion |
| ||||
| Subject: | modular arithmetic |
| Author: | jhumestly |
| Date: | Feb 15 2009 |
think my algorithm is not perfect for my program.. can you help me???
----------------------------------------
-----------------------------
import javax.swing.*;
public class Modulo1{
public static void main(String[] args){
int mod=10;
int ctr;
//Inputs
for(int i=0;i>mod;i++);
Integer.parseInt(JOptionPane.showInputDialog(null , "input"));
Integer.parseInt(JOptionPane.showInputDialog(null , "input2"));
//Printing the output
JOptionPane.showMessageDialog(null, mod);
}
}
| |||||||
| Post a new topic to the support: Clocks and Modular Arithmetic Dialogue discussion | |||||||
| Visit related
discussions: Clocks and Modular Arithmetic Dialogue support | |||||||