/** * Simulate helping a student */ #include #include #include #include "ta.h" void help_student(int sleep_time, int student_number) { //printf("helping student %d for %d seconds waiting students =...


/**
* Simulate helping a student
*/


#include
#include
#include
#include "ta.h"


void help_student(int sleep_time, int student_number)
{
   //printf("helping student %d for %d seconds waiting students = %d\n",student_number,sleep_time, waiting_students);
   printf("Helping a student for %d seconds waiting students = %d\n",sleep_time, waiting_students);


   sleep(sleep_time);
}


what are the errors in this code?



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here