how to draw this flowchart... -in a class of 40 -how to determine the youngest age and -how to determine the number of student having that age of 16-18. - introduce a variable where you can store the current youngest age. - introduce a variable to count the number of students with the youngest age. please help..
@e.mccormick please help :)
@myininaya help
@satellite73 help pls
@ganeshie8 please help..
@chmvijay help please
:)
@Manita1234 can u help him
please :)
@wio help please
@thomaster help pls..
http://www.smartdraw.com/specials/ppc/flow-chart.htm?id=330102&gclid=CPjz5vm7kbsCFc1VpgodfFEAmg this might help!
awwwwww still i need help :/
to draw the flow chart
get some ideas from their!
yeah but the problem is to solve the problem or the program above
so u want to draw a flow chart for 40 student
yeah that perform the complete program
You know how to program, right? You just need help knowing the syntax of the flowchart, or do you need help with writing the program as well?
yeah i need the program as well
|dw:1385985426520:dw|
so the age is 16-18 for 40 student.
Do you need to follow the general syntax for a flow chat? Like the whole rectangle for statements, and the diamond for decisions?
yeah
yes i need that general syntax
What are you writing this in?
I came up with something like this. See if you can do something similar, it probably still has flaws in it. It's using Java-like syntax, kinda sorta not really.
www.gliffy.com is what I used.
i can't see it clearly the letters are blur ..
@amistre64 help please
i don't need a java syntax our topic still at the bottom just a simple flowchart / program i need :)
im not sure how flowchart are spose to be "shaped" but the mathing if there is not minimum function can be assessed as if a-b > 0, then a > b if a-b < 0, then a < b
yeah..
declare 3 variables: a, b, min declare an array of 40 elements: a = array[1]; b = array[2] then loop thru them: for (x = 3 to 40) if a-b < 0, then min = a if a-b > 0, then min = b a = b; b = array[x] next x
of course the if statement can compare > and < without the mathing :) but why be normal
@e.mccormick
Here, this is a WAYYYY less blurry version. The question I have, is do you understand all the things that I put in here?
And you can do both evaluations inside one loop.
Join our real-time social learning platform and learn together with your friends!