Question: with java program Question 2.1 : (Greatest Common Divisor) Write a program GCD.java that prompts the user to enter two integers and displays their greatest
Question 2.1 : (Greatest Common Divisor) Write a program GCD.java that prompts the user to enter two integers and displays their greatest common divisor. Example : Enter the first integer... 45 Enter the second integer... 75 The greatest common divisor for 45 and 75=15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
