Page 1 of 1

I prefer keyboard writing but if you will write it at pepper please make it clearly

Posted: Sat Nov 27, 2021 2:27 pm
by answerhappygod
I prefer keyboard writing but if you will write it at pepper please make it clearly
I Prefer Keyboard Writing But If You Will Write It At Pepper Please Make It Clearly 1
I Prefer Keyboard Writing But If You Will Write It At Pepper Please Make It Clearly 1 (49.41 KiB) Viewed 108 times
7. (Write C++ Statements) Write one or more statements that perform the following tasks for an array called factorial: a) Define a constant variable array Size and initialize it to 5. b) Declare an array with array Size, of type int, and initialize the elements to 0. c) Refer to fourth element of array. d) Assign the result of 3! to array element 4. e) Display array elements 4. f) Display all the array elements using a counter-controlled for statement. Define the integer variable i as a control variable for the loop. Display all the array elements separated by spaces.