Closure on Sequence with flow charts

Exercise 1 :

Modify previous example to find the average of four numbers. The previous example can be found below:

https://islandclass.wordpress.com/2020/11/02/flowchart-practise-finding-the-average-of-3-numbers/

Exercise 2:

Create a program which Prompts the user to enter a the radius of a circle and outputs the circumference and diameter.

Hint:

IPO Table

InputProcessing Output
radiusCircumference <– 2* Pi * radius
Area <– Pi * r * r
Circumference
Diameter
IPO Table

Exercise 3

Create a solution which prompts the user to enter the length and breadth of a rectangle and output the area.

Hint:

InputProcessingOutput
length, breadtharea<– length* breadtharea

© 2020  Vedesh Kungebeharry. All rights reserved. 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s