{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# flow chart - x< 10 y = 5 x 1 x> 10 Solution Start Input...

This preview shows pages 1–6. Sign up to view the full content.

Draw a flow chart to calculate the difference between two numbers ? Solution C = A – B Start Input variable A Input variable B C = A – B Print C Stop

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Stop Draw a flow chart to calculate the derivative process ? Solution C = A B Start Input variable A Input variable B No Yes C = A print B " error " Print B = 0 1
Stop Draw a flow chart to calculate the area of square his side L ? Solution Area = L x L Start Input variable L No Yes Print area = L x L " error " Print area L < 0 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Stop Draw a flow chart to calculate : y = x 2 + 3 sin x

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: x < 10 y = 5 x + 1 x > 10 Solution Start Input x No Yes y= 5*x+1 y=x*x+3*sinx print y If x < 10 1 Stop Draw a flow chart to calculate the area of circle ? Solution area = п r 2 Start Input r п = 3.14 No Yes print area = п r 2 " error " print area If r < 0 1 Stop Draw a flow chart to calculate the average " m " between n number " a, b, c, d, e " ? Solution Start Input a, b, c, d, e No Yes print m = a + b + c +d + e " error " n print m If n < 0 1...
View Full Document

{[ snackBarMessage ]}