subject

. Write down a program that will find Greatest Common Factor (GCF) of THREEintegers a, b, and c given as input. For example if a = 24, b = 54, and c = 30 then youroutput will be 6 because the factors of 24 are 1, 2, 3, 4, 6, 8, 12, 24; the factors of 54 are 1,2, 3, 6, 9, 18, 27, 54; and the factors of 30 are 1, 2, 3, 5, 6, 10, 15, 30. Among those factors1, 2, 3 and 6 are common factors and 6 is the greatest common factor.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:20
Write a pseudocode solution for each of these problems. 1. design a while loop that lets that user enter a number. the number should be multiplied by 10, and the result stored in a variable named product. the loop should iterate as long as product contains a value less than 100. 2. design a do-while loop that asks the user to enter two numbers. the numbers should be added and the sum displayed. the loop should ask the user whether he or she wishes to perform the operation again. if so, the loop should repeat; otherwise it should terminate. 3. design a for loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 100. 4. design a nested loop that displays 10 rows of # characters. there should be 15 # characters in each row. 5. convert this for loop to a while loop. declare integer count for count = 1 to 50 display count end for 6. find the error in the following pseudocode. declare boolean finished = false declare integer value, cube while not finished display “enter a value to be cubed.” input value; set cube = value ^ 3 display value, “ cubed is “, cube end while
Answers: 2
question
Computers and Technology, 22.06.2019 15:30
Which of the following examples has four beats in each measure?
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Your company has 1,500 desktop computers running windows 7. you want to upgrade them to windows 10. which type of microsoft license would be best suited in this situation?
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. what does it indicate when a website displays https instead of http? a. the website is secure. b. there is no secure sockets layer. c. the secure sockets layer is hidden. d. the website is not secure.
Answers: 1
You know the right answer?
. Write down a program that will find Greatest Common Factor (GCF) of THREEintegers a, b, and c give...
Questions
question
Computers and Technology, 17.06.2020 21:57
Questions on the website: 13722359