Articles
Register
Sign In
Search
davidsonzuber
@davidsonzuber
April 2022
1
19
Report
. Declarar uma matriz para 10 elementos, usar um laço for para inicializar os elementos e exibí-los na vertical.
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms and service
You must agree before submitting.
Send
Lista de comentários
AlisonNunes
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <math.h>
#include <string.h>
main()
{
int x;
float vet[10];
for (x=0; x<=9; x++)
{ printf("Digite o numero %d: ",x+1);
scanf("%f", &vet[x]); }
printf("\n\nNUMEROS: ");
for (x=0; x<=9;x++)
printf("\n%4.0f",vet[x]);
printf("\n\n");
system("pause");
return 0;
}
0 votes
Thanks 0
More Questions From This User
See All
davidsonzuber
March 2022 | 0 Respostas
Responda
davidsonzuber
March 2022 | 0 Respostas
Responda
davidsonzuber
October 2021 | 0 Respostas
Responda
davidsonzuber
October 2020 | 0 Respostas
Responda
×
Report " Declarar uma matriz para 10 elementos, usar um laço for para inicializar os elementos e exibí-los .... Pergunta de ideia de davidsonzuber"
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
Sobre nós
Política de Privacidade
Termos e Condições
direito autoral
Contate-Nos
Helpful Social
Get monthly updates
Submit
Copyright © 2024 ELIBRARY.TIPS - All rights reserved.
Lista de comentários
#include <stdlib.h>
#include <conio.h>
#include <math.h>
#include <string.h>
main()
{
int x;
float vet[10];
for (x=0; x<=9; x++)
{ printf("Digite o numero %d: ",x+1);
scanf("%f", &vet[x]); }
printf("\n\nNUMEROS: ");
for (x=0; x<=9;x++)
printf("\n%4.0f",vet[x]);
printf("\n\n");
system("pause");
return 0;
}