To know what arrays are • Lroplermeota program to apply array manipulation And apply how to declare arrays • Understand the meaning of the ampersand & symbol • Understand the meaning of the asterisk * symbol • Declare, define, and initialize arrays • Write programs that access data in the array list • Use arrays as function parameters and return types Objectives: Description Create an array of 15 integers. Add all elements located at ODD index positions and sum also all numbers located at EVEN(Assume zero index is even) index positions in the linear array. The user's will be the one to input each item in the array of 15 elements. Display also the inputted integers in the array. Given the sample layout w/i test data below: Sample input/output: Enter 15 integers in the array: Numlo): 10 Dum): -5 Numl2): 15 Num3): 20 Numla): 2 Numis) 9 Num6): -3 Num7): 25 Num8): 30 Nur9) -18 Nu( 10]:-10 Num(11): 7 Numi 12]: 18 Nur( 13): 1 Nura( 14): 9 Inputted elements in the ARRAY are: Numlo): 10 Numuj -5 Numl2): 15 Duml3): 20 Nurala): 2 Num5): 9 Numl6): -3 Dum7): 25 Num8): 30 Num9j-18 Nua( 10]:-10 Numl11): 7 Numl 121: 18 Nu( 13): 1 Dural 14): 9 Sum of all items at ODD (index): 39 Sum of all items at EVEN[index): 71

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%
Make a C program
7:51 A
0.25
KB/S
令.
31
To know what arrays are
• Umplementa program to apply array manipulation
And apply how to declare arrays
• Understand the meaning of the ampersand & symbol
Objectives:
• Understand the meaning of the asterisk * symbol
• Declare, define, and initialize arrays
• Write programs that access data in the array list
•Use arrays as function parameters and return types
Description
Create an array of 15 integers. Add all elements located
at ODD index positions and sum also all numbers located at EVENAssume
zero index is even) index positions in the linear array. The user's will be the one to input
each
item in the array of 15 elements. Display also the inputted integers
in the array. Given the sample layout w/ test data below:
Sample input/output:
Enter 15 integers in the array:
NumO): 10
Numl1): -5
Numl2): 15
Num3): 20
Nurol4): 2
Nums): 9
Num6): -3
Num7): 25
Num8): 30
bum19)-18
Num(10]:-10
Num(11): 7
Numi12): 18
Num(13]: 1
Num( 14]: 9
Inputted elements in the ARRAY are:
Dumlo): 10
Numj -5
Numl2): 15
Num(3): 20
Numl4): 2
Num(5): 9
Numi6j: -3
Num7]: 25
Numt8): 30
Numi9j-18
Numl 10):-10
Num(11]: 7
Nual 12]: 18
Num(13]: 1
Duml 14]: 9
Sum of all items at ODD (index): 39
Sum of all items at EVENțindex): 71
Jovelyn B. Buhawe
JB
March 16, 2022
Transcribed Image Text:7:51 A 0.25 KB/S 令. 31 To know what arrays are • Umplementa program to apply array manipulation And apply how to declare arrays • Understand the meaning of the ampersand & symbol Objectives: • Understand the meaning of the asterisk * symbol • Declare, define, and initialize arrays • Write programs that access data in the array list •Use arrays as function parameters and return types Description Create an array of 15 integers. Add all elements located at ODD index positions and sum also all numbers located at EVENAssume zero index is even) index positions in the linear array. The user's will be the one to input each item in the array of 15 elements. Display also the inputted integers in the array. Given the sample layout w/ test data below: Sample input/output: Enter 15 integers in the array: NumO): 10 Numl1): -5 Numl2): 15 Num3): 20 Nurol4): 2 Nums): 9 Num6): -3 Num7): 25 Num8): 30 bum19)-18 Num(10]:-10 Num(11): 7 Numi12): 18 Num(13]: 1 Num( 14]: 9 Inputted elements in the ARRAY are: Dumlo): 10 Numj -5 Numl2): 15 Num(3): 20 Numl4): 2 Num(5): 9 Numi6j: -3 Num7]: 25 Numt8): 30 Numi9j-18 Numl 10):-10 Num(11]: 7 Nual 12]: 18 Num(13]: 1 Duml 14]: 9 Sum of all items at ODD (index): 39 Sum of all items at EVENțindex): 71 Jovelyn B. Buhawe JB March 16, 2022
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY