Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Exercise11f {
- public void input( int[] array ) {
- for( int i = 0; i < array.length; i++ ) {
- array[ i ] = Integer.parseInt( JOptionPane.showInputDialog( "Ange tal " +
- ( i + 1 ) ) );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement