added more task

This commit is contained in:
ada-dmitry
2023-11-15 10:34:29 +03:00
parent 2a3484ba88
commit 10b256c812
14 changed files with 126 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#include <stdio.h>
#include "func.c"
float fahr(int cel);
int main()
{
int cel; // градусы Цельсия
float f; // градусы Фаренгейта
scanf("%d", &cel);
f = fahr(cel);
printf("%.2f\n", f); // .2f - печатать с точностью до 2 знаков после .
return 0;
}