Ask your own question, for FREE!
Mathematics 20 Online
OpenStudy (anonymous):

Algorithm convert the length 2feet into centimeter and also draw a flow chart

OpenStudy (anonymous):

LET A length in feet A = 2 feet LET B = 30.48 cm LET C be the product of A nd B C= A X B PRINT C

OpenStudy (anonymous):

is this right

OpenStudy (turingtest):

looks like a good algorithm, but your notation is strange to me

OpenStudy (turingtest):

i don't know of a formal way to write an algorithm other than as a set of steps, in which sense these serve just fine. I just meant i was unfamiliar with the idea of having to make the 'LET' statements explicit

Miracrown (miracrown):

Yes, that looks all good. Indeed, one foot is 30.48 cm And the flow chart? Do you have an idea there?

Miracrown (miracrown):

Do you have any rules for making a flow chart like particular symbols for particular types of actions? Otherwise I am just going to make it up

Miracrown (miracrown):

if not, then I will just use squares for variables, diamonds for actions. A certain kind of symbol for assign the variables. Something like this:

Miracrown (miracrown):

http://screencast.com/t/yhwnXyWaU I mean this is a possible flow chart. To be honest, I am sure it's not the greatest one or anything, but it's only possibility. Let me look at a standard

Miracrown (miracrown):

http://screencast.com/t/wQNrWCdglpu So here, you have a pink rectangle for the initial state. Diamonds for questions that should be answered. And green rectangles for actions to be taken. So the basic idea is a flow chart needs to use certain symbols to categorize types of actions and states and computations. And how well you do this determines how well or 'pretty' your flow chart will be.

Miracrown (miracrown):

I just maybe want to try something like this: http://screencast.com/t/4zrR99upGBF Okay so this is a bit more than the actual program because the actual program is rather simple. This program has a check for whether or not A is input in feet, which makes it a more interesting flow chart... but I think the idea is conveyed. Yes?

OpenStudy (anonymous):

be careful with the units, in your algorithm to start the units of B should be cm/ft because it's a ratio of one unit of length to another

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!