Groups
Groups
Sign in
Groups
Groups
Розв'язування задач
Conversations
About
Send feedback
Help
Задача "Число"
1 view
Skip to first unread message
Юрий Устименко
unread,
Feb 27, 2012, 9:44:27 AM
2/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Розв'язування задач
Дано натуральне число.
а) чи правда, що воно закінчується парною цифрою?
б) чи правда, що воно закінчується непарною цифрою?
Артём Баранник
unread,
Feb 28, 2012, 12:42:01 PM
2/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Розв'язування задач
var x : integer;
begin
read(x);
if odd(x) then
write ('÷èñëî çàê³í÷óºòñÿ íå ïàðíîþ öèôðîþ')
else
write('÷èñëîçàê³í÷óºòüñÿ ïàðíîþ öèôðîþ');
end.
Дмитро Пилипенко
unread,
Feb 28, 2012, 1:37:45 PM
2/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Розв'язування задач
var x : integer;
begin
read(x);
if odd(x) then
write (' б ')
else
write('a');
end.
On 27 фев, 16:44, Юрий Устименко <
lystu...@gmail.com
> wrote:
Юрий Устименко
unread,
Feb 28, 2012, 1:50:45 PM
2/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Розв'язування задач
перевіряти на парність потрібно останню цифру число, а не саме число
Дмитро Пилипенко
unread,
Feb 29, 2012, 4:42:57 AM
2/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Розв'язування задач
var x : integer;
begin
read(x);
if odd(x mod 10) then
write (' б ')
else
write('a');
end.
On 27 фев, 16:44, Юрий Устименко <
lystu...@gmail.com
> wrote:
Reply all
Reply to author
Forward
0 new messages