From b2351e9376b678454db1c6f5e51f8a4b2cc597b2 Mon Sep 17 00:00:00 2001 From: Patrick Gutemberg <84359525+Patick-gu@users.noreply.github.com> Date: Sat, 7 Oct 2023 11:43:44 -0300 Subject: [PATCH] entregar exercicio 1174 adicionar setprecicion mudar tamanho do vetor e resatar a saida --- VETOR74.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 VETOR74.cpp diff --git a/VETOR74.cpp b/VETOR74.cpp new file mode 100644 index 0000000..7a10ded --- /dev/null +++ b/VETOR74.cpp @@ -0,0 +1,18 @@ +#include + +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["<