can someone help me make a flowchart from this program: #include #include using namespace std; int main(int argc, char *argv[]) { int point[10],large=0; cout<<"Enter a number: "<>point[0]; large=point[0]; for(int x=0;x<10;x++) { cin>>point[x]; if(point[x]>large) large=point[x]; } cout<<"The largest number is "<

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions.

A community for students.

can someone help me make a flowchart from this program: #include #include using namespace std; int main(int argc, char *argv[]) { int point[10],large=0; cout<<"Enter a number: "<>point[0]; large=point[0]; for(int x=0;x<10;x++) { cin>>point[x]; if(point[x]>large) large=point[x]; } cout<<"The largest number is "<

MIT 6.00 Intro Computer Science (OCW)
See more answers at brainly.com
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions

You should have asked this in the computer science group. But it didn't take me much too long, and I think it could be interesting for people beginning the OCW course.
1 Attachment
what could be its analysis ? the IPO . Input, Process and Output?
Input: 10 integers Process: walk through the integers and keep in memory the largest integer found Output: The largest of the 10 integers

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

so that is the Analysis of the program ?
It's my analysis, I don't know what you or your teacher are expecting. It certainly describes what the program is doing, but maybe you're expecting a specific way to describe this analysis...
yup . is this correct ? INPUT: Point[10],x=1,large=0 PROCESS: for(int x=1;x<10;x++); if(point[x]>large) OUTPUT: The largest number
It seems correct to me, except x=1 is really in the process, not the input. And I should say that the output is the largest number, or 0 is the user entered negative numbers.
so in the flowchart. the x=1 is in the process box not in the initialization??
Sure, because it is just a way to loop through the numbers
then on my output in my analysis, it should be The largest number or 0 or negative numbers?
Do you understand the program, or the diagram I made ? If not, please take 5 minutes to think about it. Then you'll probably be able to answer yourself. If not, I'll help you to find yourself the answer.
this is my flowchart. im sorry for the arrow, i did it on a rush ^^
1 Attachment
sorry I can't read docx, put a picture instead
here you go
1 Attachment
compare yours with mine now, and try to understand the differences
what is ur initialization ?
LOL :D its almost the same.
There are subtle but important differences :) Try to do that: run yourself the flow with a paper and a pen, just for 2 or 3 numbers.
hmm what would be its analysis ? thats my problem
draw three columns: one for for large, one for x (or indice), one for point[x]. Then try to go through each step of my flowchart. Don't try to analyze anything for the moment. Your brain will do the work and you'll understand easily how it works.

Not the answer you are looking for?

Search for more explanations.

Ask your own question