My code requires the user to input many values and for every input, it goes to a new line. How can I make all the inputs in one line? Here is my part of code;
Code:printf("\nEnter the durations of jobs :\n\n");
for(i=0; i<number; i++)
scanf("%d", &dur[i]);