-2

write a problem that take 10 integers from the user put in a table then calculate the min,max and the average and print it on the screen

5
Contributors
6
Replies
8
Views
7 Years
Discussion Span
Last Post by Ancient Dragon
0

write a problem that take 10 integers from the user put in a table then calculate the min,max and the average and print it on the screen

wat has to be done??? finding out max min in a ordinary way or some advanced techniques???

2

Srinivasan, you should know that we get a lot of students just asking for "the code", to save them having to do any work.

Atomic33 is such a poster, so far. He's put no work into this thread.

If you give out programs to these kinds of posters, the forum will be plagued by more of them, before long.

Make them show some work. Sometimes I'll give an incomplete program if the logic is rather involved.

Edited by Adak: n/a

Votes + Comments
Exactly
0

Yes, calculating the average is probably taught in grade school. Most 12-year-old kids can probably tell you how to do that.

The problem in C programs is not how to do it on paper, but how to tell the computer (who is an idot) how to do it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.