English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

send me the full programme please....

2007-06-11 23:01:18 · 6 answers · asked by gowth29 1 in Computers & Internet Programming & Design

6 answers

The user is going to input a number which you will assign to a variable called currentValue

For every currentValue that is entered the program will test it to see if it is a minValue or a maxValue. To do this it will use an IF statment .

IF the current value is larger than maxVal then maxValue is reassigned with the current value.

You will do this test with minValue as well.

2007-06-11 23:59:34 · answer #1 · answered by MarkG 7 · 0 0

Well said ckm1956!

Homework is set so that you (the student) can learn for yourself without your teacher holding your hand. If you get other people to do everything for you, you'll learn absolutely nothing. Do you want to earn your qualification or not? If you do, then do your own homework (unless of course you need help on PART of it). If you don't, then stop wasting everyone's time by hanging around in school doing nothing all day.

2007-06-12 00:08:26 · answer #2 · answered by Anonymous · 0 0

in basic terms variety the numbers in an array using an sorting technique. Matlab i'm particular has a outfitted in variety functionality, in basic terms seek for advice from the documentation or google sorting in Matlab. Then in basic terms %. off the n numbers you prefer that are maximum or lowest. in case you prefer the three lowest and you variety ascending then indicies 0-2 are the three lowest

2016-10-17 00:13:31 · answer #3 · answered by hyler 4 · 0 0

This sounds suspiciously like a homework assignment.

While people here are glad to help, we won''t do the work for you. This is a VERY simple problem. If you get stuck on PART of it, repost and people will likely help with that PART.

2007-06-11 23:10:13 · answer #4 · answered by ckm1956 7 · 1 0

Is it not easier just to count? 10 numbers is a very small amount. I think you can even do this in Microsoft Excel.

2007-06-11 23:04:31 · answer #5 · answered by Anonymous · 0 0

You should look at the term "bubble sort".

You don't specify a programming language, but if it is in c or c++ you should take a look on http://www.nextdawn.nl for free tutorials.

2007-06-12 08:01:02 · answer #6 · answered by Anonymous · 0 0

fedest.com, questions and answers