subject

Martian integer multiplication works as follows (on paper): 1. write the two integers to be multiplied side by side, at the top of two columns. 2. divide the number on the left by 2, ignoring any remainder, and double the number on the right. 3. repeat step 2 for the newly-created numbers, until the number on the left reaches 1. 4. each time you divide, if the number on the left of that row is odd, add the number on the right to your total. 5. when you are done, the total will be equal to the product of the original two numbers.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 21:00
Alcohol’s affects on the cornea and lens of the eye make it more difficult
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
What is the process in which the software development team compiles information to determine the final product
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
The program below has been generalized to read a user's input value for hourlywage. run the program. notice the user's input value of 10 is used. modify that input value, and run again. generalize the program to get user input values for workhoursperweek and workweeksperyear (change those variables' initializations to 0). run the program. monthsperyear will never change, so define that variable as final. use the standard for naming final variables. ex: final int max_length
Answers: 2
question
Computers and Technology, 24.06.2019 20:00
Write c++programs for the following problem: let the user enter two numbers and display which is greater. !
Answers: 1
You know the right answer?
Martian integer multiplication works as follows (on paper): 1. write the two integers to be multipl...
Questions
question
Mathematics, 31.07.2019 19:00
question
English, 31.07.2019 19:00
question
Social Studies, 31.07.2019 19:00