For pure randomness, I have created a java class in less a few minutes. Save it under Calcuator.java before compiling. I'll edit this thread to improve this code. If you have questions or comments, please feel free to post here.
public class Calculator
{
private int a, b, c;
public...