Example of algorithm

Example of algorithm - 4 Ask the user for a number put this...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ALGORITM Ask a user for a number & calculate the square root (assume you have a “process” that does this) and print it out 1. Start 2. Create variable UserNumber 3. Create variable SquareRootResult
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 4. Ask the user for a number, put this in UserNumber 5. Calculate square root, put in SquareRootResult 6. Output SquareRootResult 7. End FLOWCHART...
View Full Document

This note was uploaded on 12/14/2011 for the course COMP APPS 170 taught by Professor Gayatreeganu during the Fall '08 term at Rutgers.

Ask a homework question - tutors are online