#include #include float f(float a, float b, float c) { return (4 * b + 5 * c) / a; } int main() { float s, t; printf("Introduceti s si t:\n"); scanf("%f %f", &s, &t); printf("\nRezultatul: %.2f", f(2 * t, 3 * t, s) + f(2.5, s + 1, t)); getch(); return 0; }