Предмет: Информатика, автор: Cats007Masha

:Написать программу на Паскале В переменной Х – Ваша оценка. Вывести, что это за оценка
Если «2» - очень плохо, если «3» - удовл. , если «4» - хорошо, если «5» - отл.
даю 20 баллов!!!​

Ответы

Автор ответа: MrMiner1
0

Program n_1;

var x:integer;

begin

   read(x);

   case x of

       1,2 : writeln('Очень плохо');

       3: writeln('Удовлетворительно');

       4: writeln('Хорошо');

       5: writeln('Отлично');

   else writeln('Ошибка');

   end

end.

Автор ответа: Viko4ka7
1
Program n_15;
var x:real;
begin
writeLN('Введите оценку');
readLN(x);
If x=2 then writeLN('очень плохо');
If x=3 then writeLN('Удовлетворительно');
If x=4 then writeLN('Хорошо');
If x=5 then writeLN('Отлично');
If x<2 or x>5 then writeLN('Нет отметки');
writeLN('Ваша отметка- ',x);
end.
Похожие вопросы
Предмет: Английский язык, автор: PAIN1999
Задание 3. Выполните перевод грамматикализованных предложений.

I. 1. Accuracy is one of the major items in judging a control system. The higher the accuracy of the system, the less errors the system makes. 2. The digital computer employs the principle of counting units, digits, and hence, if properly guided, gives answers which have a high degree of accuracy. 3. Electronic computers can choose which of several different operations are the right ones to make in given circumstances. Never before has mankind had such a powerful tool available. 4. In many cases Man has proved to be but an imperfect controller of the machines he has created. Thus it is natural that wherever necessary, we should try to replace the human controller by some form of automatic controller. 5. It is necessary to draw a distinction between calculating machines and computers, the former requiring manual control for each arithmetic step and the latter having the power to solve a complete problem automatically.

II. 1. Many servomechanisms and regulators are known to be composed of a number of control elements connected in series, the output of one being used as the input to the next. 2. We expect a computer to work for at least several hours without a fault; that is to say, supposing a speed of one thousand operations per second, to perform more than ten million operations. 3. Digital programming implies the preparation of a problem for a digital computer by putting it in a form which the computer can understand and then entering this program into the computer storage unit. A problem to be solved by a digital computer must be expressed in mathematical terms that the computer can work with. 4. Among all forms of magnetic storage, magnetic tapes were the first to be proposed in connection with digital computers. 5. Programming a computer involves analyzing the problem to be solved and a plan to solve it.

Задание 4. Поставьте прилагательные а сравнительную и превосходную степени сравнения.

Fast, easy, high, light, popular, general, low, typical, active, wide, traditional, large, similar, old, feasible, possible, new, available, usual, complex, bulky, cheap, expensive, difficult, free, extreme, powerful, rapid, economical, remote, full, early, recent, capable, distinct, energy-efficient, modern, few.

Good, bad, little, far, many.
Предмет: Математика, автор: Galina19853001
Предмет: Литература, автор: ксюша1137