Rose321

Untitled

Jun 27th, 2016
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. import javax.swing.JOptionPane;
  2. class Names {
  3.  
  4. public static void main ( String [ ] args) {
  5. int m ;
  6. for (m=0 ; ; ++m)
  7. { String S = JOptionPane.showInputDialog ("Enter the Word " ) ;
  8.  
  9.  
  10. if (S == " ")
  11. break;
  12. System.out.println( S ) ;
  13. }
  14. }}
Advertisement
Add Comment
Please, Sign In to add comment