Home
О нас
Products
Services
Регистрация
Войти
Поиск
alena2505
@alena2505
July 2022
1
53
Report
дано двузначное число(n). Найти сумму цифр двузначного числа. помогите сделать в паскале)
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
yasadc
Uses crt;
var n,s,a,b: integer;
begin
writeln('Введите число n');
readln(n);
a:=n mod 10;
b:=n div 10;
s:=a+b;
writeln(s);
end.
9 votes
Thanks 13
×
Report "дано двузначное число(n). Найти сумму цифр двузначного числа. помогите сделать в..."
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
var n,s,a,b: integer;
begin
writeln('Введите число n');
readln(n);
a:=n mod 10;
b:=n div 10;
s:=a+b;
writeln(s);
end.