Вопрос школьника по предмету Информатика
Написать программу на языке программирования, которая вычислит значение выражения 2a+5b+4.
Ответ учителя по предмету Информатика
Ответ:
Объяснение:
var a, b:Integer;
begin
readln(a);
readln(b);
writeln(‘Ответ: ‘, 2*a+5*b+4)
end.
Похожие вопросы от пользователей
My name is kelly and I»m your new penfriend. I live in sutton. It»s a very small village. There _____ one shop and there_____five streets! There____ a post offise opposite our house. My mum works there. My dad goes to work in Leeds. There______ offices and factories heve in sutton. What are your interests? I love dansing. At weekends i go into leeds because there _____ a disco in our village. ________ there discos in your area?.
_________ there a lot to do?