#include <stdio.h>
int main()
{
float a,b,c,d,w;
printf("Podaj a: ");
scanf("%f", &a);
printf("Podaj b: ");
scanf("%f", &b);
printf("Podaj c: ");
scanf("%f", &c);
printf("Podaj d: ");
scanf("%f", &d);
w=a+b+c+d;
printf("Obwod wynosi: %f", w);
return 0;
}
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
#include <stdio.h>
int main()
{
float a,b,c,d,w;
printf("Podaj a: ");
scanf("%f", &a);
printf("Podaj b: ");
scanf("%f", &b);
printf("Podaj c: ");
scanf("%f", &c);
printf("Podaj d: ");
scanf("%f", &d);
w=a+b+c+d;
printf("Obwod wynosi: %f", w);
return 0;
}