1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Bezzdna [24]
3 years ago
8

Write an algorithm to sum all numbers between 0 and 1000 that are divisible by ,7​

Computers and Technology
1 answer:
ipn [44]3 years ago
6 0

Answer:

The algorithm is as follows:

1. START

2. SUM = 0

3. FOR NUM = 0 TO 1000

3.1 IF NUM % 7 == 0

3.1.1 SUM = SUM + NUM

3.2 END IF

4. END FOR

5. PRINT SUM

6. END

Explanation:

This begins the algorithm

1. START

This initializes sum to 0

2. SUM = 0

This iterates from 0 to 1000

3. FOR NUM = 0 TO 1000

This checks if the current number is divisible by 7

3.1 IF NUM % 7 == 0

If yes, the number is added

3.1.1 SUM = SUM + NUM

End the if condition

3.2 END IF

End loop

4. END FOR

This prints the calculated sum

5. PRINT SUM

The algorithm ends here

6. END

You might be interested in
HURRYY!!!<br> In the movie "Spare Parts" why can't Oscar enlist in the armed forces????
Volgvan

Answer:

He doesn't have a United States birth certificate as proof he is a resident. ... She thinks he's going to enlist in US Army.

Explanation:

hope this help with your question

5 0
2 years ago
Which education level has the highest return on investment (ROI)?
ZanzabumX [31]
Having a bachelor degree from a college gives the highest returns on investments. People who go to college usually secure high paying jobs compare to their counterparts who have less education.
The type of college one attends also matter, for instance in USA, the college in the first position, which gives the highest return on investment is Massachusetts Institute of Technology  [MIT].
7 0
4 years ago
Which formula uses relative cell references? $A$10/100 5*10+20 F18+F19/2 $B$5+30
Mandarinka [93]

The formula that uses relative cell references is F18+F19/2.

A relative cell reference will adjust as a formula is copied because it is actually working by calculating what the formula is in relation to the cell where the formula is. For example, if you copied this formula down one row it would adjust to F19+F20/2. This is opposite of an absolute cell reference like you see in the first example. The cell will always reference cell A10, regardless of where it is copied to.

8 0
3 years ago
Which from the following list are an example of productivity software?
Scorpion4ik [409]
D. All of the Above.....
3 0
4 years ago
Read 2 more answers
I NEED HELP RIGHT NOW !!!!!!!!!!!!!!!1
Alex17521 [72]
Are tools used to assist in conveying information during a presentation. When a speaker is verbally addressing an audience it is often necessary to use supplementary equipment and media to clarify the point. [ If the audience is large or the speaker is soft-spoken, a public address system may be employed

hope this help       plz mark brainliest
5 0
3 years ago
Read 2 more answers
Other questions:
  • At what point is an idea protected by copyright?
    7·2 answers
  • You are angry at a friend who forgot to meet you for lunch, and you decide to write an e-mail about how it made you feel. What s
    11·2 answers
  • Which of these is NOT a reason why you would print handouts of your presentation?
    14·1 answer
  • Zack is taking a survey that contains questions about his future plans. Which question would most likely be on the survey?
    9·2 answers
  • As your textbook explains, Wikipedia is usually the only source you need when
    8·1 answer
  • When the condition of an if statement is false, the computer will return an error message to the user.
    15·2 answers
  • HELLO. Which of the following is NOT a way to control the flow of a program?
    6·2 answers
  • What is the typical drive letter for the hard drive?
    12·1 answer
  • What is not recyclable in a<br> hybrid car<br> hydrogen car<br> petrol car
    15·1 answer
  • What is wrong here??
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!