subject

Write a program that computes three sums: 1 2 3 4 ... 99 100 1 3 5 7 ... 97 99 2 4 6 8 ... 98 100 Use a register (say $8) for the sum of evens, a register (say $9) for the sum of odds, and another (say $10) for the sum of all numbers. Do this with one counting loop. The loop body contains logic to add the count to the proper sums.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
question
Computers and Technology, 25.06.2019 08:50
A-12.3 an american spy is deep undercover in the hostile country of phonemia. in order not to waste scarce resources, any time he wants to send a message back home, he removes all the punctuation from his message and converts all the letters to uppercase. so, for example, to send the message, β€œabort the plan! meet at the dark cabin.” he would transmit given such a string, s, of n uppercase letters, describe an efficient way of breaking it into a sequence of valid english words. you may assume that you have a function, valid(s), which can take a character string, s, and return true if and only if s is a valid english word. what is the running time of your algorithm, assuming each call to the function, valid, runs in o(1) time?
Answers: 3
question
Computers and Technology, 26.06.2019 14:00
Your windows 8 computer is dhcp enabled. you want to find out what the ip address is for it. how do you do this?
Answers: 1
question
Computers and Technology, 26.06.2019 18:30
How do media and networks interact? a. networks and media work in exactly the same way. b. media are connected to networks that make information easier to access and pass on. c. media and networks do not interact at all. d. networks feed media only important information that can be communicated to many people.
Answers: 1
You know the right answer?
Write a program that computes three sums: 1 2 3 4 ... 99 100 1 3 5 7 ... 97 99 2 4 6 8 ... 98 100 Us...
Questions
question
Mathematics, 24.09.2019 18:10
question
Mathematics, 24.09.2019 18:10