04.01.2023 Views

Documento sin título (1)

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

arreglo(dimensión)

#include<stdio.h>

int main() {

float a[5];

float elemento;

int i;

for (i=1;i<=5;i+=1) {

scanf("%f",&elemento);

a[i-1] = elemento;

}

for (i=1;i<=5;i+=1) {

printf("posicion%i:%f\n",i,a[i-1]);

}

return 0;

}

examen

#include<stdio.h>

#include<math.h>

int main() {

int a;

int b;

int c;

int cont;

int d;

int e;

int f;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!