Предыдущая тема :: Следующая тема |
Автор |
Сообщение |
Pavel789
Зарегистрирован: 01.10.2004 Сообщения: 1
|
Добавлено: Пт Окт 01 2004 22:56 Заголовок сообщения: find the algorithm |
|
|
The design is a very important step in program development cycle. A logical sequence of precise steps that solve the problem is determined in this step, we call it algorithm. The three most popular design tools are flowchart, pseudocode, and hierarchy chart.
In this project, you are given the following problem, you need to find the algorithm, and present it in flowchart, pseudo code, and hierarchy chart. You need use Microsoft Word Word to accomplish this project. You don’t need Visual Studio.NET for this project.
Problem:
Given three different integers, find the second largest number, and print it. |
|
Вернуться к началу |
|
 |
droopy
Зарегистрирован: 28.07.2004 Сообщения: 168
|
Добавлено: Сб Окт 02 2004 13:03 Заголовок сообщения: |
|
|
You bored. This task doesnt need .net naturaly.
It is task for bk8086 and can be acomplished with basic.
There is no need for english to, or you some kind of dendy.
rtfm. |
|
Вернуться к началу |
|
 |
Alexandr 172
Зарегистрирован: 03.09.2004 Сообщения: 66 Откуда: Челябинск
|
Добавлено: Пн Окт 04 2004 13:46 Заголовок сообщения: |
|
|
input a, b, c;
r=0;
if(a<b) r++;
if(b>c) r+=2;
if(a>c) r+=4;
switch(r)
{
case 0:
case 7:
print a;
case 1:
case 6:
print b;
case 3:
case 4:
print c;
} _________________ www.pay-ace.com/Ras254 - всем в подарок $150 |
|
Вернуться к началу |
|
 |
|