• Matéria: Informática
  • Autor: hermenilsonhnj
  • Perguntado 8 anos atrás

escreva um algoritmo que ler um vetor x(100) e a escreve?

Respostas

respondido por: LucasFrancinete
2
#include<stdio.h>
#include<stdlib.h>
int main() {
int v[100], x;

for (x=0; x<100; x++){
printf(" Informe um elemento para a posicao ℅i ", x+1);
scanf("℅i",&v[x]);
system("cls");
}

for (x=0; x<100; x++){
printf("℅i /t", v[x]);
}
system("pause");
return 0;
}
Perguntas similares