Комментарии: Решаем задачи Абрамян на C. If24 https://coolcode.ru/reshaem-zadachi-abramyan-na-c-if24/ Скриптописание и кодинг Sun, 03 Jun 2018 10:49:30 +0000 hourly 1 https://wordpress.org/?v=5.8.12 Автор: Анатолій https://coolcode.ru/reshaem-zadachi-abramyan-na-c-if24/#comment-2361 Sun, 03 Jun 2018 10:49:30 +0000 http://coolcode.ru/?p=6071#comment-2361 #include

int main(void)
{
float x, sinx;
printf(«x: «);
scanf («%f», &x);

if (x>0) printf(«fx=%f\n»,2*sinx);
else printf(«fx=%f\n»,6-x);

return 0;
}

]]>