Write an algorithm and draw the flowchart to find whether the given number is positive or negative
Answers
Answer:
Let me re-phrase your question.
“How do I get Quora to answer my assignment for me?”
Not what you meant?
OK, here’s two ways of how “we” do it.
First:
We think of the steps needed to find the largest number in the input step. That means we have to look at each one to see if it’s positive and the largest. So we’re going to need to go around in a loop. We need to look at each number and test if it is positive.
If it is, we need to see if it’s the largest. We might have thought a previous one was the largest, so we’ll need to do some checking.
While we’re going through the numbers, we might as well check for the smallest negative one. There’s an ambiguity with “smallest” I’ll let you sort out.
Once we’ve thought of those steps, we review our course material and see how each step might be represented as a node in a flow chart and how one step flows to the next.
Then we write the flowchart and submit it as the answer to our assignment.
Second:
We ask for someone on Quora to give us a flowchart for the assignment. We submit it for assessment, along with an acknowlegment that it was not our own work, and we accept any penalty our college imposes for plagarism and cheating.
Which one would you like to go for?