does any1 know the codes for this programes
Posted 04-15-2009 at 03:13 AM by kitiya
Instead of producing the summation of the given non-negative integer,
modify this program and make it create only one
thread that will calculate the factorial. When the thread finishes execution,
the parent thread will output the factorial calculated by the child thread.
b. Besides of producing the summation of the given non-negative integer,
modify this program and make it create two threads.
One thread is to produce the summation of the given non-negative integer;
the other thread is to calculate the factorial. When the two child threads
finish execution, the parent thread will output the summation and the
factorial of the given non-negative integer
modify this program and make it create only one
thread that will calculate the factorial. When the thread finishes execution,
the parent thread will output the factorial calculated by the child thread.
b. Besides of producing the summation of the given non-negative integer,
modify this program and make it create two threads.
One thread is to produce the summation of the given non-negative integer;
the other thread is to calculate the factorial. When the two child threads
finish execution, the parent thread will output the summation and the
factorial of the given non-negative integer
Total Comments 0