Computer Science, asked by arbaazmir01, 4 months ago

C++
Take an array of 10 elements. Write a program fragment to split the initial array into the middle and store the elements in two different arrays. E.g.-

INITIAL array a :
58 24 13 15 63 9 8 81 1 78

After splitting, array x and array y:
58 24 13 15 63
9 8 81 1 78

Print array x and array y.

Answers

Answered by WhiteDevilDishanKing
0

Explanation:

Stars in is group undergo huge expansion and eir radius increases y a factor Stuar of 100 to 200. In this stage they are called red giant stars. his name is given because of the large size and because of the fact that the stars look reddish due to their lower temperature. The size of a red giant star in comparison to other types of stars is shown in figure 19.2. At the end of its evolution, these stars explode and their outer gas envelope is thrown out. The inner part contracts and its size becomes similar to the size of the earth. As the mass of the star is much higher than that of the earth and the size is similar to that of the earth, he density in the star becomes very high. In this state, t e pressure due to the electrons in the star becomes independent of temperature and is able to balance the gravitatinal force for ever. In this state, the star looks white and due to its small size it is called a white dwarf. After this its temperature keeps decreasing but its size and mass remain unchanged for ever and so white dwarf is the end stage of stars in this mass range.

Similar questions