Skip to content

Commit

Permalink
entregar exercicio 1174
Browse files Browse the repository at this point in the history
adicionar setprecicion mudar tamanho do vetor e resatar a saida
  • Loading branch information
Patick-gu committed Oct 7, 2023
1 parent 542bd51 commit b2351e9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions VETOR74.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#include <iostream>

using namespace std;

int main(void)
{
double vetor[5];


for(int i=0; i<5; i++)
{
cin>>vetor[i];
if(vetor[i]<=10){
cout<<"X["<<i<<"] = "<<vetor[i]<<endl;
}

}
}

0 comments on commit b2351e9

Please sign in to comment.