View Single Post
  #2 (permalink)  
Old 03-21-2008, 08:55 AM
hardwired hardwired is offline
Senior Member
 
Join Date: Jul 2007
Posts: 1,222
hardwired is on a distinguished road
Code:
String digits = ""; for (i = 0; i < NUMELS; i++) // Display and total the grades { digits += numbers[i]; } JOptionPane.showMessageDialog(null, "numbers entered where: " + digits + "\n" + "the sum of all numbers entered is: " + total, "message", JOptionPane.INFORMATION_MESSAGE);
Reply With Quote