Компьютер -5
Телефон-3
Часы - 7
Sin(sqrt(x))*1/(cos(12*y-4))
const
students = 20;
var
marks: <em>byte</em> := students;
begin
writeln('Все пришли?');
var c: <em>string</em>;
readln(c);
if not (c in ['Yes', '1', 'True', 'Да']) then
begin
writeln('Сколько не пришло?');
var b: <em>byte</em>;
readln(b);
marks := (marks > b ? marks - b : 0);
end;
writeln(marks, ' оценок');
<span>end.</span>
#include <iostream>
using namespace std;
int main() {
double x1, y1, x2, y2;
cout << "x1 = ";
cin >> x1;
cout << "y1 = ";
cin >> y1;
cout << "x2 = ";
cin >> x2;
cout << "y2 = ";
cin >> y2;
if (x1 * x1 + y1 * y1 < x2 * x2 + x1 * x1) {
cout << "(" << x1 << "; " << y1 << ")";
} else {
cout << "(" << x2 << "; " << y2 << ")";
}
return 0;
}<span />