Question: use c++ or matlab 9. [TOJ Write a small program that implements the Extended Euclidean algorithm to find the greatest common divisor. The program should
9. [TOJ Write a small program that implements the Extended Euclidean algorithm to find the greatest common divisor. The program should output the gcd and x and y. Input should be two non-negative integers a and b. with a b. Your program should also provide an option to calculate the inverse of a number with some modulus for the user. Submit a screen shot showing all the working features of your program along with a print out of your code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
