How to write the following code in the example
Below is an example of a completed program where the user inputted 1 and 2, and your program's I/O should match shown below. Choose 1-4 to initialize an array all numbers from 1-20 the first 20 even numbers beginning with 2 the 20 odd numbers, beginning with 1 the first 20 fibonacci numbers, beginning with 0 and 1 Choose 1-4 to initialize an array all numbers from 1-20 the first 20 even numbers beginning with 2 the 20 odd numbers, beginning with 1 the first 20 fibonacci numbers, beginning with 0 and 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 The inner product of the arrays are 5740 Before turning in your assignment, make sure you have followed all of the instructions state and any additional instructions given by your lab instructor(s). Always test, test, and retest compiles and runs successfully on our Unix machines before submitting it. Show your TA that you completed the assignment. Then submit and upload your code to the CPSC 1011 Labs website on Canvas under the correct lab assignment. After you submit file(s) Canvas for this program and other programs that you write this semester, always double check that you submit the correct file(s) (to do this, download your submission from Canvas, view it, and make sure compiles and runs correctly on our Unix machines). Style, Formatting, and Commenting Requirements Commenting your source code The top of your file should have a header comment, which should contain: Your name (first and last) Lab Section Date Assignment name A brief description about what the program does Any other helpful information that you think would be good to have. All functions should be commented about what they do, and significant blocks of source code should be commented to describe its functionality in plain English (Which means someone who has no