This document was uploaded by user and they confirmed that they have the permission to share
it. If you are author or own the copyright of this book, please report to us by using this DMCA
report form. Report DMCA
Overview
Download & View Ejerciocio Del Perimetro as PDF for free.
#include <stdio.h> int main () { int x=0; int y=0; int z=0; int suma=0; printf ("ingresar primer lado a sumar"); scanf ("%i", &x); printf ("ingresar segundo lado a sumar"); scanf ("%i", &y); printf ("ingresar tercer lado a sumar"); scanf ("%i", &z); suma=x+y+z; printf ("el perimetro es %i",suma); return 0; }