subject

The input to the following algorithm is a positive integer. the goal is to find the digit in the hundreds place of the integer. (for example, if we input 28398, we want the algorithm to output 3.) below is the proposed algorithm, but the values of x and y are missing: step 1: divide the input by x. call the quotient and ignore the remainder. step 2: now divide by y. ignore the quotient and call the remainder step 3: return what x, y will allow this algorithm to correctly find the hundreds digit of the input? put x in the first blank and y in the second blank. note: we would say that has a quotient of 2 and a remainder of 1.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 21:50, IdkHowToDoMath
Given int variables k and total that have already been declared, use a while loop to compute the sum of the squares of the first 50 counting numbers, and store this value in total. thus your code should put 11 + 22 + 33 + + 4949 + 50*50 into total. use no variables other than k and total.
Answers: 2
image
Computers and Technology, 22.06.2019 23:30, TheBurntToast
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
image
Computers and Technology, 24.06.2019 11:30, nate1808
What does the https: // mean when you type in a website
Answers: 1
image
Computers and Technology, 24.06.2019 21:00, genyjoannerubiera
When replacing a thermostat or water pump, coolant drained from the cooling system should be
Answers: 1
You know the right answer?
The input to the following algorithm is a positive integer. the goal is to find the digit in the hun...

Questions in other subjects:

Konu
Mathematics, 18.02.2021 18:00
Konu
Mathematics, 18.02.2021 18:00
Konu
Biology, 18.02.2021 18:00
Konu
Mathematics, 18.02.2021 18:00