Click here to Skip to main content
15,867,939 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Accept 3 numbers and calculate least
Posted
Comments
[no name] 18-Aug-13 9:08am    
What on earth does "draw a flowchart" have to do with C, C++, C# or any other programming language? Open up Visio, or your other favorite drawing package, and draw the flowchart! Or if you do not have Visio, use a pencil and paper.

1. start
2. input a,b,c
3. m<-a
4. if b < m then m<-b
5. if c < m then m<-c
6. output m
7. end
 
Share this answer
 
Comments
H.Brydon 19-Aug-13 12:40pm    
Not a good idea to do homework for people here, especially for really basic questions. By doing this, you are inspiring other lazy students to bombard this forum with silly questions that they should be doing themselves.
Done it!

That was easy. Now what do you want?

Oh, I see...sorry, I though you were telling me to do it. When all along, you just wanted us to do your homework... silly me.

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!
 
Share this answer
 
If we provide you with the correct solution, one of two things will happen:

1. The tutor recognizes you didn't do your homework by yourself and react accordingly (personally I consider that the good case - at least the tutor now has a chance to put you back on track)

2. The tutor accepts the solution, and will continue to teach under the assumption you know the basics. But since you didn't understand enough to do your homework, any advanced teaching building on the basics of flowcharts will automatically fail! Depending on just how important this basic topic is with respect to the course you are doing, this may cause enough problems to ultimately fail it. This, I think, is the worst possible outcome. Is that really what you are asking for? Think again!


Try it yourself. Check out your course materials or a good online resource such as http://en.wikipedia.org/wiki/Flowchart[^]. If you have trouble understanding a specific topic, feel free to ask and we will help. But you should at least try.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900