From: MUHAMAD HAKIM on
The process of finding the largest number (i.e. the maximum of a group of numbers) is used frequently in computer applications. For example, a program that determines the winner of a sales contest would input the number of units sold by each salesperson. The salesperson who sells the most units wins the contest. Write a program that inputs a series of 10 numbers, and determines and prints the largest numbers. Your program should use three variables as follows:

counter: A counter to count to 10 (i.e. to keep track of how many numbers have been input and to determine when all 10 numbers have been processed)

number: the current number input to the program
largest: the largest number found so far
From: Dave Robinson on
"MUHAMAD HAKIM" <hakim_uitm(a)yahoo.com> wrote in message <hpcb3n$sit$1(a)fred.mathworks.com>...
> The process of finding the largest number (i.e. the maximum of a group of numbers) is used frequently in computer applications. For example, a program that determines the winner of a sales contest would input the number of units sold by each salesperson. The salesperson who sells the most units wins the contest. Write a program that inputs a series of 10 numbers, and determines and prints the largest numbers. Your program should use three variables as follows:
>
> counter: A counter to count to 10 (i.e. to keep track of how many numbers have been input and to determine when all 10 numbers have been processed)
>
> number: the current number input to the program
> largest: the largest number found so far

You just got to be kidding. If you haven't got a clue how to do this, then give up any thought of a career in computer science, go for something easier in life, I think Tideman usually recommends a particular Hamburger joint.

Most of us here have a living to earn, which doesn't include providing a homework completion service, writing trivial programs for lazy students. Show that you have at least tried and where you are having trouble, then someone usually is willing to help out.