Answer the following questions: In a C++ program, if you see a variable in main
ID: 643692 • Letter: A
Question
Answer the following questions: In a C++ program, if you see a variable in main declared: float fArray[20]; describe what fArray is. After the above declaration, to assign 1.2 to the beginning element of fArray, show the C++ statement here: After the above declaration, to assign 9.8 to the last element of fArray, show the C++ statement here: Suppose you have a const named MAX already declared and initialized how would you declare an array of ints called IntArray that has MAX elements in C++ (assume declaring in main, uninitialized elements)? After your declaration for the array of ints (IntArray), show for loop (with ONE statement in it) that assigns 50 to each element in intArrayExplanation / Answer
----------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.