Write a program using Multithreading in C++ while using pthread_join()?

Write a program in the shell using threads. Each thread must be doing one of the tasks mentioned below. One task must be completed and then another task should be started. Use pthread_join() system call to make the thread wait for the other thread's completion. Get the input at the start and use these numbers in all threads. The numbers must consist of four digits at least. i.e 1234. a) Finding the largest of three numbers b) Reversing the largest number c) Sum of individual digits of a 4-digit number (1234 -> 1+2+3+4=10)

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum