subject

Write a program in c language using arrays:

part 1:
-write a program that stores eight doubles in an array. you can allow the user to enter
the numbers from the keyboard or you can initialize the array with eight doubles.
-your program should then display:
- each number on one line (to one decimal place of accuracy)
-for example: 2 19.4 -11.2 7.3 . .
- each number on one line in reverse order (again, to one decimal place)
- the sum of the numbers
- the average of the numbers
- each number that is higher than the calculated average value

part 2:
- write a program that declares a one-dimensional array of integers with 24 elements.
fill the array with random integers (use a loop). neatly output each element in the
one-dimensional array.

- next convert your one-dimensional array of 24 elements into a two-dimensional
array of 6 x 4 elements. neatly output each element of the two-dimensional array.
the values will be identical to the one-dimensional array – you’re just converting
from one dimension to two.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:10
How can i delete permalinks from a word press site?
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
Report all segments of identity by descent longer than 20 polymorphisms between pairs of individuals in the following cohort of 15 individuals across 49 polymorphisms: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 numeric input 2 points possible (graded) you have 2 attempts to complete the assignment below. for example if the sequence is "bcd", which occurs in "abcdef" , the starting point would be 2 (b), and the finishing point would be 4(d). individuals 7,10 between positions
Answers: 1
question
Computers and Technology, 24.06.2019 00:10
Read each statement below. if the statement describes a peer-to-peer network, put a p next to it. if the statement describes a server-based network, put an s next to it. p - peer-to-peer s - server-based
Answers: 1
You know the right answer?
Write a program in c language using arrays:

part 1:
-write a program that stores...
Questions
question
Physics, 17.10.2020 09:01
question
Physics, 17.10.2020 09:01