Question 1
The greatest common divisor of two positive integers is the largest integer that evenly divides both numbers.The following algorithm will find the greatest common divisor of number 1 and number 2.
gcd := number 1;
remainder := number 2;
repeat
divident := gcd;
gcd := remainder
remainder := dividend mod gcd
until remainder = 0
Using the windows32 framework, write a program that uses dialog boxes to prompt for and input values for number 1 and number 2, implements the above design to find their greatest common divisor, and uses a message box to display the GCD.
Add loops to the program to verify that both numbers input are greater than 1.
Question 2
It’s common in business for people to use Microsoft Word for capturing notes, but there are some disadvantages to using Word that you don’t have with OneNote. When comparing the two, what advantages to you see with OneNote over Word?
Do you need help with this assignment or any other? We got you! Place your order and leave the rest to our experts.