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
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...
Related questions
Question
100%
Make a C program
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images
Recommended textbooks for you
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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
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
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY