ah ok sorry for that, but i only know how to put the process but i dont know how to make the complete LCFS program
By Process i think you meant algorithm for the code, or how such a scheduling is done by the CPU. Well it doesn't matter what you have. Share it, so that we can make sure, we are helping someone who is ready to sweat a bit for himself...Thats all there is to it. Show some effort, and we will help...:D
printf("\n\nEnter the number of processes:");
printf("\n\n Enter the NAME, BURST TIME and ARRIVAL TIME of thr process");
printf("\n\nNAME : ");
printf("\n\nBURST TIME : ");
printf("\n\n ARRIVAL TIME :");
yeah im using C, because our prof teach only in C, im only a first year college, but i know its only same
i want a program that process the scheduling the LAST COME, FIRST SERVE
your in the wrong forum you should have posted this in the C forum
and no,for C and C++ there's a lot of differences about the two
for example just printing the output...
printf("this is C \n");
cout << "This is C++" << endl;
And now for your code... just saying "process the scheduling the LAST COME, FIRST SERVE" is not explaining much, so my suggetstions would just be my interpretation of the problem
I think it would be a lot easier if you use an array of structure
then use a loop that will swap the contents of the last element to the first element of a structure until the elements of the whole array has been reversed
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...