2020-12-02 15:18:15 +03:00
|
|
|
/*
|
|
|
|
Copyright 2020 KoroLion (github.com/KoroLion)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
float sum(float a, float b);
|
2020-12-03 15:56:26 +03:00
|
|
|
float fx(float x);
|
2020-12-02 15:18:15 +03:00
|
|
|
|
|
|
|
int main() {
|
2020-12-03 15:56:26 +03:00
|
|
|
float c = sum(1.5, 2.1);
|
2020-12-02 15:18:15 +03:00
|
|
|
printf("%f\n", c);
|
|
|
|
|
2020-12-03 15:56:26 +03:00
|
|
|
float y = fx(2);
|
|
|
|
printf("%f\n", y);
|
|
|
|
|
2020-12-02 15:18:15 +03:00
|
|
|
return 0;
|
|
|
|
}
|