Logic &amp; Algorithms Part two

Logic & Algorithms Part two - equals to A set C the...

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

Chenhao Michael Mai Tinglin Liu 1. Start 2. Input number A, define A 3. Add convective number starting from 1 set B=1 increase B by 1, add up the sum of B until it

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: equals to A set C the total = 0 4. If not, repeat step 3. if the sum B equals to A, print out the sum 5. Print out the sum 6. End Yes No...
View Full Document

This note was uploaded on 12/28/2011 for the course 198 170 taught by Professor Kristianstout during the Spring '10 term at Rutgers.

Page1 / 2

Logic & Algorithms Part two - equals to A set C the...

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

View Full Document
Ask a homework question - tutors are online