Home
О нас
Products
Services
Регистрация
Войти
Поиск
dfedoseenkop34a4l
@dfedoseenkop34a4l
July 2022
1
11
Report
Дан одномерный массив элементы которого могут быть числа от одного до 1000, Посчитать количество элементов который заканчивается на семь
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
rus10011111
Var
a, n, k: integer;
begin
k := 0;
readln(n);
for t := 1 to n do
begin
readln(a);
if a mod 10 = 7 then k := k + 1;
end;
writeln(k);
end.
1 votes
Thanks 1
dfedoseenkop34a4l
Можно по русски?
rus10011111
Что нужно? Блок-схема? Или что?
dfedoseenkop34a4l
Программа
rus10011111
Ну? А это что по-твоему?
×
Report "Дан одномерный массив элементы которого могут быть числа от одного до 1000, Посч..."
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, n, k: integer;
begin
k := 0;
readln(n);
for t := 1 to n do
begin
readln(a);
if a mod 10 = 7 then k := k + 1;
end;
writeln(k);
end.