How can I display numbers with different arithmetic operator
<p>I'm trying to display different expressions with different arithmetic operator for example <strong>2+6=</strong>, <strong>7-1=</strong>, <strong>9*2=</strong>, <strong>10/5=</strong>. From the code I have at the moment only integers with the <code>"/"</code> operator are working, other operators don't. My code is:</p>

<pre><code>fnum0 = (int) ((double) ((Math.random() * 10)));
             snum0 = (int) ((double) ((Math.random() * 10)));
             display.setText(fnum0+"+"+ snum0+"= ");

             fnum1 = (int) ((double) ((Math.random() * 10)));
             snum1 = (int) ((double) ((Math.random() * 10)));
             display.setText(fnum1+"-"+ snum1+"= ");

             fnum2 = (int) ((double) ((Math.random() * 10)));
             snum2= (int) ((double) ((Math.random() * 10)));
             display.setText(fnum2+"*"+ snum2+"= ");

             fnum3= (int) ((double) ((Math.random() * 10)));
             snum3= (int) ((double) ((Math.random() * 10)));
             display.setText(fnum3+"/"+ snum3+"= ");
</code></pre>
