As you can see there is a prompt at the very bottom of this code, The prompt is followed by a read. The code skips the read and ends instead, why is this?
public class Song { static Scanner keyboard = new Scanner (System.in); public static void main(String[] args) { Double songDuration; String songTitle, songRemove; String [] songs = new String[10]; double [] songDurations = new double[10]; for (int count=1; count<=9; count++) { System.out.println("Please enter song title number " + count); songTitle=keyboard.nextLine(); songs[count] = songTitle; } for (int count=1; count<=9; count++) { System.out.println("Song Number " + count + " = " + songs[count]); } for (int count=1; count<=9; count++) { System.out.println("Please enter duration of song " + songs[count]); songDuration=keyboard.nextDouble(); songDuration=songDurations[count]; } System.out.println("What song title would you like to remove from the array?"); songRemove=keyboard.nextLine();