fork(1) download
  1. #include <stdio.h>
  2. // terzo programma in C - le 4 operazioni - somma
  3. int main(void) {int a,b,c,x;
  4. scanf("%d %d %d",&a,&b,&c);// lettura dei lati
  5. x=a+b+c;
  6. printf("Perimetro=%d",x);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0.01s 5516KB
stdin
3 4 5
stdout
Perimetro=12