Hello i would like to know if my pseudocode was written


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

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Hello i would like to know if my pseudocode was written
Reference No:- TGS02631062

Now Priced at $10 (50% Discount)

Recommended (90%)

Rated (4.3/5)