var N,i:integer;
begin
readln(n);
while (n mod 10=0) do begin inc(i); n:=n div 10; end;
writeln(i);
end.
Картинки в приложении.... хорошо, что нашел, как их построить не руками))
Ответ:
#include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "russian");
double x, y;
cin >> x;
if (x == 5)
{
y = pow(x, 4) - x / 5;
}
if (x > 5)
{
y = 4 * x + 2*x/3;
}
else return 0;
cout << endl << y;
}
Объяснение: условие не полное, поэтому решил что есть.
Var
a,b,c:integer;
x,y,z:string;
begin
writeln('Введите стороны треугольника');
readln(a,b,c);
x:='равнобедренный';
y:='равносторонний';
z:='разносторонний';
begin
if (c=b) and (a<>c) then
writeln('Треугольник',' ',x);
if (a=c) and (a<>b) then
writeln('Треугольник',' ',x);
if (a=b) and (a<>c) then
writeln('Треугольник',' ',x);
if (a=b) and (a=c) and (b=c) then
writeln('Треугольник',' ',y);
if (a<>b) and (a<>c) and (b<>c) then
writeln('Треугольник',' ',z);
end;
readln
<span>end.</span>