Okay, I just looked at the output I typed in and it isn't formatted the way I typed it. It should be all lined up, 10 per line, each column right justified.
Type: Posts; User: drew.field
Okay, I just looked at the output I typed in and it isn't formatted the way I typed it. It should be all lined up, 10 per line, each column right justified.
Forgot to put my code in there:
public class Exercise05_27 {
public static void main (String [] args) {
int count=0;
int n=2;
while (count<100){
if (isEmirp(n)){
I have two problems. First, the output has single digit numbers in it which I believe makes them not emirps (because they are the same backwards and forwards). The second problem I'm having is in...
That did it! Thanks so much.
Here is the data set that is given as an example:
1 2 3 4.5 5.6 6 7 8 9 10
They give the answer as: 2.99794
Here is my code:
import java.util.*;
public class Exercise05_21 {