# cp-1_lect_17 - More Examples on Algo and Flowcharts...

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

More Examples on Algo and Flowcharts Continued… Draw a flowchart for finding largest of three numbers Draw a flowchart to read marks of 10 students and classify them into different grades Algo for checking whether a given number is prime 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, … Algo for printing Fibonacci series 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, … Algo for finding whether a given number is an Armstrong number 371, 153, 407, . .. Draw a flowchart for finding roots of a quadratic equation Draw a flowchart to print sum of even terms within 0 to 20 Algo for finding sum of series 1 + x + (x2 )/2! + x3 /3! +…

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

View Full Document
Draw a flowchart for computing factorial N (N!)
Draw a flowchart to find the sum of first 50 natural

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

View Full Document
Draw a flowchart to find the largest of three numbers
Draw a flowchart for computing factorial N (N!)

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

View Full Document
Algorithm: Prime number 1. Input a number n. 2.
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 05/07/2010 for the course CS&IS TA C162 taught by Professor Kavitha during the Spring '09 term at Birla Institute of Technology & Science.

### Page1 / 9

cp-1_lect_17 - More Examples on Algo and Flowcharts...

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

View Full Document
Ask a homework question - tutors are online