Home
О нас
Products
Services
Регистрация
Войти
Поиск
love280399
@love280399
August 2022
1
2
Report
Составить программу в среде Turbo Pascal для решения следующей задачи: «Вычислить все значения и найти количество элементов больших 10, для у=а(х+1), если а=2, шаг=1 и х€[-5;15]».
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms of service
You must agree before submitting.
Send
Answers & Comments
therealcf2014
Const
a=2;
step=1;
x0=-5;
x1=15;
var
i, count: integer;
function y(x: integer): integer;
begin
y:=a*(x+1);
end;
begin
for i:=x0 to x1 do
begin
writeln('f(', i, ') = ', y(i));
if y(i)>10 then inc(count)
end;
writeln('Количество f(x)>10: ', count)
end.
0 votes
Thanks 0
×
Report "Составить программу в среде Turbo Pascal для решения следующей задачи: «Вычислит..."
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
О нас
Политика конфиденциальности
Правила и условия
Copyright
Контакты
Helpful Social
Get monthly updates
Submit
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a=2;
step=1;
x0=-5;
x1=15;
var
i, count: integer;
function y(x: integer): integer;
begin
y:=a*(x+1);
end;
begin
for i:=x0 to x1 do
begin
writeln('f(', i, ') = ', y(i));
if y(i)>10 then inc(count)
end;
writeln('Количество f(x)>10: ', count)
end.