Construct a flowchart for said code

Assignment Help Basic Computer Science
Reference no: EM131835557

Hello, I would like to know if my pseudocode was written correctly and how I would construct a flowchart for said code

1. Get values for numbers 1 through 8

2. Set initial value of Count to 1

3. Set the value of TotalSum, EvenSum and Oddsum to 0 

4. While Count is less than or equal to 8 do Steps 4 through 7 

5. If Count is divisible by 2, then 

6. Add Count to EvenSum 

7. Else 

8. Add Count to OddSum 

9. Add Count to TotalSum 

10. Add 1 to Count 

11. End do/while loop 

12. Print EvenSum, OddSum, and TotalSum 

Stop 

Any advice would be appreciated

Reference no: EM131835557

Questions Cloud

Which performance measure is least important to the consumer : Which of these performance measures do you believe is most important to potential customers of healthcare services? Why?
Most widely used windows maintenance tools : What are some of the most widely used Windows maintenance tools? Please share personal experiences using these tools.
Explain the different insurance types : Imagine that you are the clinic manager of an urgent care center. Recently, your center has seen an increase in complaints regarding long wait times.
Define financial success and financial happiness : Define financial success and financial happiness, and summarize the building blocks to achieving financial success.
Construct a flowchart for said code : Hello, I would like to know if my pseudocode was written correctly and how I would construct a flowchart for said code
How emerging business trends may affect your career choices : Be sure to include in that article and your discussion how any emerging business trends may affect your career choices.
Why do structural barriers physically : Why do structural barriers physically and psychologically deter and discourage intruders?
What are the tools available and limitations : You have found out that your team is not familiar with the Active Directory Tools. What are the tools available and limitations.
Analyze the business-level strategies : Assess your satisfaction with the Aldi's and make recommendations about how that company could modify its business-level strategy to both increase.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Escape sequence for a line feed

Which of the following is the escape sequence for a LINE FEED?

  Identify the features of the fastica algorithm

Identify the features of the FastICA algorithm that are responsible for this important property

  Generalization of the triangular-matrix method

How would you count all item sets of size 3 by a generalization of the triangular-matrix method? That is, arrange that in a one-dimensional array there is exactly one element for each set of three items.

  Organizational responsibilities and a troubled physician

The obligations between health care providers and the organizations for which they work run in both directions, and these obligations are both legal and ethical. In the Application Assignment, you will consider a scenario involving a troubled phys..

  Generate a system clock

It may take several RTIs to trigger one change of the LED pattern for this problem.

  Write a program that creates a random object with seed 1000

Write a program that creates a Random object with seed 1000 and displays the first 50 random integers between 0 and 100 using the nextInt(100) method.

  Define variables to hold the weight of the two passengers

An Arctic helicopter service cannot carry more than 2 passengers and more than 300 pounds in extra weight. Define variables to hold the weight.

  What are all possible values of the ack field

What are the possible sets of sequence numbers inside the sender's window at time t? Justify your answer.What are all possible values of the ACK field in all possible messages currently propagating back to the sender at time t? Justify your answer.

  Show the index after inserting an entry with hash value 4

Find a list of entries whose insertion into the original index would lead to a bucket with two overflow pages. Use as few entries as possible to accomplish this. What is the maximum number of entries that can be inserted into this bucket before a ..

  How can a country''s inflation rate influence

How can a country's inflation rate influence the contractual payment policy?

  Nist criteria for selection of des and aes relate to shannon

How do the NIST criteria for selection of DES and AES relate to Shannon's original standards of a good cryptographic system?

  Business intelligence systems

Differentiate the difference between data mining, text mining, and web mining?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd