Question: 1. Write a program that will use the random number generator, seeded with time, to generate two random integers between 10 and 100. Then using
1. Write a program that will use the random number generator, seeded with time, to generate two random integers between 10 and 100. Then using a for loop, determine the greatest common divisor between the two integers. The greatest common divisor(gcd) between two numbers, x and y, is the largest number that will divide evenly into both x and y. Or in math terms.... raix/ged will have no remainder AND program y/ged will have no remaii You should output both random numbers and the ged that the program calculated for you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
