numbers = new int[10];
numbersResult = "The resulting numbers inside Do While loop are:
";
count = 0;
while (count < 10) {
numbers[count] = (int) (count*8.87);
numbersResult += "number " + String.valueOf(numbers[count] + "
");
count ++;
}
JOptionPane.showMessageDialog(null, numbersResult);