2. Write the C++ code to declare a floating point array with 6 elements and initialize all the elements to a value of 10 (in the data declaration statement). 3. Write the C++ code to add the values of...

Must answer all the questions else will do downvote
2. Write the C++ code to declare a floating point<br>array with 6 elements and initialize all the<br>elements to a value of 10 (in the data declaration<br>statement).<br>3. Write the C++ code to add the values of the first<br>and eight members of an array named money and<br>store the result in the tenth member of that same<br>array.<br>4. Write the C++ code to print the fifth member of an<br>array named grades.<br>5. Write the C++ code to display all the elements in<br>this array (each balance should be on a new line):<br>int balances[100];<br>6. Write the C++ code to declare a 2 dimensional<br>array that will hold 5 grades for 10 students.<br>

Extracted text: 2. Write the C++ code to declare a floating point array with 6 elements and initialize all the elements to a value of 10 (in the data declaration statement). 3. Write the C++ code to add the values of the first and eight members of an array named money and store the result in the tenth member of that same array. 4. Write the C++ code to print the fifth member of an array named grades. 5. Write the C++ code to display all the elements in this array (each balance should be on a new line): int balances[100]; 6. Write the C++ code to declare a 2 dimensional array that will hold 5 grades for 10 students.

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here