subject

Write a C program that solves the next problem.
-It reads from the keyboard a vector with n whole and positive elements (n read from the keyboard). The vector name is P.
-Show the vector elements, 4 items on a line.
-A new vector is formed, containing the elements in the initial vector that are divisible by 5. The vector name is M. Calculate the geometric mean of its elements. If there are no 5 divisible elements in the first vector, a message will be displayed.
-The second vector (4 elemets per line), the number of elements of it and the geometric mean determined are displayed.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
Jason needs to learn a new web tool. he went through his books to understand more about it. now he wants hands-on experience with using that tool. what would him? jason can use websites where workspace is provided to test the results of your code.
Answers: 2
question
Computers and Technology, 23.06.2019 22:00
Technician a says engine assemblies can be mounted longitudinally in a chassis. technician b says engine assemblies can be mounted transversely in a chassis. who is correct?
Answers: 2
question
Computers and Technology, 24.06.2019 16:00
To fill (copy) a cell across or down, point to the of the cell and drag. top left corner top right corner bottom left corner bottom right corner
Answers: 3
question
Computers and Technology, 24.06.2019 18:30
After making a powerpoint presentation about a new line of clothing designs, henri notices that he used the word “gorgeous” on nearly every slide. what would be the  best  way to add more variety to his wording by using tools within powerpoint? using the thesaurus under the view tab, and then using the find dialog box to find and replace every instance of “gorgeous”using the spelling checker under the view tab, and then using the find dialog box to find every instance of “gorgeous” and change some of themusing the thesaurus under the review tab, and then using the find dialog box to find every instance of “gorgeous” and change some of themusing the spelling checker under the review tab, and then using the find dialog box to find and replace every instance of “gorgeous”
Answers: 2
You know the right answer?
Write a C program that solves the next problem.
-It reads from the keyboard a vector with n wh...
Questions
question
Chemistry, 21.11.2019 23:31
question
Mathematics, 21.11.2019 23:31
Questions on the website: 13722365