Артем Уберт
?>

Запишите итог выполнения программы информатика var a, b, c:real begin a:=15; b:= 3; c:= a/b ; write(c); end.

Информатика

Ответы

orb-barmanager

5

Объяснение:

c=15/3=5

Ruslan374
Написал на VBS, тот же бейсик, который есть в школах

dim years
years = inputbox("Введите ваш возраст")
if years = 1 then msgbox("Мне 1 год") end if
if years = 2 then msgbox("Мне 2 годa") end if
if years = 3 then msgbox("Мне 3 годa") end if
if years = 4 then msgbox("Мне 4 годa") end if
if (years >= 5) and (years <= 19) then msgbox("Мне "+cstr(years)+" лет") end if

if years >= 20 then
dim s
s = "Мне "+cstr(years)
if (years mod 10 = 1) then s = s + " год" end if
if (years mod 10 >= 2) and (years mod 10 <= 4) then s = s + " годa" end if
if (years mod 10 >= 5) and (years mod 10 <= 9) then s = s + " лет" end if
if (years mod 10 = 0) then s = s + " лет" end if
msgbox(s)
end if
dmdlir
Что-то меня глючит. Я же вроде как отвечал...

dim years
years = inputbox("Введите ваш возраст")
if years = 1 then msgbox("Мне 1 год") end if
if years = 2 then msgbox("Мне 2 годa") end if
if years = 3 then msgbox("Мне 3 годa") end if
if years = 4 then msgbox("Мне 4 годa") end if
if (years >= 5) and (years <= 19) then msgbox("Мне "+cstr(years)+" лет") end if

if years >= 20 then
dim s
s = "Мне "+cstr(years)
if (years mod 10 = 1) then s = s + " год" end if
if (years mod 10 >= 2) and (years mod 10 <= 4) then s = s + " годa" end if
if (years mod 10 >= 5) and (years mod 10 <= 9) then s = s + " лет" end if
if (years mod 10 = 0) then s = s + " лет" end if
msgbox(s)
end if

VBS

Ответить на вопрос

Поделитесь своими знаниями, ответьте на вопрос:

Запишите итог выполнения программы информатика var a, b, c:real begin a:=15; b:= 3; c:= a/b ; write(c); end.
Ваше имя (никнейм)*
Email*
Комментарий*

Популярные вопросы в разделе

dirzhanov683
imiryakubov
mustaevdmitry397
titov-es3095
kulttrop
Валерьевна1601
kun1969
александр496
Savelieva24
expozition
Елена_Зайкин1665
Soliyabronzoni
barekyan096140
MArat
AleksandrovnaIgor