#include <stdio.h>
#include <stdlib.h>
struct trojkat
{
double a,b,c;
};
double obwod(struct trojkat param)
{
return param.a+param.b+param.c;
}
int main()
{
struct trojkat t1;
t1.a=3.2;
t1.b=4;
t1.c=5;
printf("%lf",obwod(t1));
return 0;
}
Created
April 28, 2019 09:07
-
-
Save pjastr/3fbb402813a21020deac8cb55850b88d to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment