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

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
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
Background image of page 2
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
Background image of page 3

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

View Full DocumentRight Arrow Icon
Stop Draw a flow chart to calculate : y = x 2 + 3 sin x
Background image of page 4
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
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

This note was uploaded on 05/30/2011 for the course COMPUTING 379 taught by Professor Dr.anoopsarkar during the Spring '11 term at American College of Computer & Information Sciences.

Page1 / 6

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

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online