subject

Get two positive integers from the user. Write code to multiply the two numbers together using only addition or subtraction. You should not use the '*' operator. Remember that x*y is simply x+x+x+...+x, y times. You may use eitnher a for loop or a while loop

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
question
Computers and Technology, 22.06.2019 22:10
Asequential circuit contains a register of four flip-flops. initially a binary number n (0000 ā‰¤ n ā‰¤ 1100) is stored in the flip-flops. after a single clock pulse is applied to the circuit, the register should contain n + 0011. in other words, the function of the sequential circuit is to add 3 to the contents of a 4-bit register. design and implement this circuit using j-k flip-flops.
Answers: 1
question
Computers and Technology, 23.06.2019 02:50
Thereā€™s only one game mode that stars with the letter ā€˜eā€™ in cs: go. which of the options below is it?
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Which of the following is not a ā€œfatal fourā€ event?
Answers: 2
You know the right answer?
Get two positive integers from the user. Write code to multiply the two numbers together using only...
Questions
question
History, 20.09.2019 18:20
question
Mathematics, 20.09.2019 18:20
Questions on the website: 13722363