when i write code in c and try to take 2 inputs using scanf like scanf("%d%d",&a,&b) , the input of b is skipped . why is that and what can i do to correct it ?
Enter the durations of jobs :
for(i=0; i<number; i++)
// program for the summation of 2 integers taking all inputs at a time.
printf(“enter two integers”);
printf(“Sum is %d”,k);
// I never face this kind of problem. In my above program i have take two inputs at a time i.e. values of i & j.
//You can send me your program to get it solve.
printf(“enter two number”);