PLEASE DO IT CORRECTLY. I NEED THE CORRECT ANSWER
Posted: Mon Mar 21, 2022 4:47 pm
PLEASE DO IT CORRECTLY. I NEED THE CORRECT
ANSWER
Task-3: Write a program in c that has a function that takes the name of the user and adds all the ASCII value of the characters and returns it. Now create 3 threads that run the function using 3 different user names. Now print “Youreka” if all the returned values are equal, print “Miracle” if the 2 returned values are equal and print “Hasta la vista” if the values don't match using another thread.
ANSWER
Task-3: Write a program in c that has a function that takes the name of the user and adds all the ASCII value of the characters and returns it. Now create 3 threads that run the function using 3 different user names. Now print “Youreka” if all the returned values are equal, print “Miracle” if the 2 returned values are equal and print “Hasta la vista” if the values don't match using another thread.