Step Form Algorithm
Step Form Algorithm
Start.
Declare the required variables.
Indicate the user to enter the coefficients of the quadratic equation by displaying suitable
sentences using printf() function.
Wait using the scanf() function for the user to enter the input.
Calculate the roots of quadratic equation using the proper formulae.
Display the result.
Wait for user to press a key using getch() function.
Stop.
Start.
Input a, b, c.
D ← sqrt (b × b – 4 × a × c).
X1 ← (-b + d) / (2 × a).
X2 ← (-b - d) / (2 × a).
Print x1, x2.
Stop.
Flowchart:
Draw flowchart to find the largest among three different numbers entered by user.
Draw a flowchart to find all the roots of a quadratic equation ax2+bx+c=0
Draw a flowchart to find the Fibonacci series till term≤1000.
Though, flowchart are useful in efficient coding, debugging and analysis of a program, drawing
flowchart in very complicated in case of complex programs and often ignored.