subject

Considere o seguinte programa escrito em linguagem c: int main(){ float notas[10][4]; float media, soma; for (i=0; i< 10; i++){ printf("aluno %d: ",i+1); for (j=0; j< 4; j++){ printf("entre com a nota: "); scanf("%f",& notas[i][j]); } printf("\n"); } for (i=0; i< 10; i++){ soma = 0; for (j=0; j< 4; j++) soma = soma + notas[i][j]; media = soma/4; printf("a media do aluno %d foi: %.2f", i+1, media); } system("pause"); return 0; } sobre este programa, analise as seguintes sentenças: i. em resumo, o programa l? e armazena 4 notas de 10 alunos e em seguida calcula e apresenta a média destas notas para cada aluno. ii. o programa faz uso de uma matriz, que é do tipo de dado float, tem o nome notas e foi declarado que ela possui 2 dimens? es. iii. a instruç? o que corresponde a declaraç? o da matriz é "float media, soma; ". iv. na matriz utilizada, as linhas representam os alunos e as colunas representam as notas.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:30
Choose the answers that best complete each sentence. on average,are more expensive than other kinds of postsecondary schools. the cost of room and board includes. to save money, some students attend auniversity in their home state.
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
What does the faves button do? a. users mark a web page as a favorite b. leads other readers to favor a specific page c. readers sort and align their favicons, or favorite icons d. leads users to a message board where they can post questions
Answers: 1
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Jean has kept the content of her website limited to what is important; she has also ensured that the text follows a particular style and color all throughout her website. which website features has jean kept in mind? jean has limited the content of her website to what is important; this ensures (clarity, simplicity, harmony and unity) of the content. she has also formatted the text in a particular style and color throughout her website, ensuring (balance, simplicity, consistency)
Answers: 2
You know the right answer?
Considere o seguinte programa escrito em linguagem c: int main(){ float notas[10][4]; float media,...
Questions
question
Arts, 01.01.2021 08:50
question
English, 01.01.2021 09:00
question
Spanish, 01.01.2021 09:00
question
Mathematics, 01.01.2021 09:00
question
Mathematics, 01.01.2021 09:00
question
English, 01.01.2021 09:00
Questions on the website: 13722367