Design a flowchart for finding the sum of the numbers 2, 4, 6, 8, ..., n
Answers
Answer:
Explanation:
In other words, I refer to a chart that uses logic gates such as if...then, and, or, xor, nand, etc.
If this is a case, a flow chart has nothing to do with such a problem.
You are describing an arithmetic sequence, as a previous answer noted.
The sequence doesn’t converge to a single value (in other words, it simply doesn’t decrease) so the sum is infinity.
But, you can find the answer using: ∑nk=1k
Which can be rewritten as: n(n+1)
Hope that helps!
Explanation:
This program is very simple. I will here guide you of what symbol in flow chart to use and what text needs to be written
1. Draw Oval: Write start
2. Draw Parallelogram: Write "Input n"
3. Draw rectangle: Write "Initialize sum to 0 and i=2"
4. Draw Decision symbol: Write while x<=k
5. Draw rectangle: Write Sum = sum + 0
6. Draw rectangle: Write i = i + 2
Draw an arrow once again to step 4 to run till the condition satisfy
7. Draw Parallelogram below step 6: Write "Print sum"
8. Draw oval: Write stop
To Know More:
https://brainly.in/question/4972833
Match the elements of a flowchart and their purpose in the following:
https://brainly.in/question/3726478
Draw flowchart for the following
1 To accept the roll number , name and father name of your friend...