Question: Using C language please please i only have 20 min Exercise 2: Print 5 elements from Array of size 10 Exercise Objectives Using for loop

Exercise 2: Print 5 elements from Array of size 10 Exercise Objectives Using for loop Using break Using #define and Array Problem Description Develop a C program that will store 10 integer numbers in array and print just the first 5 numbers using for loop, array, break statement and define to define the size of the array). Prompts the user to input 10 numbers and store them in array of size 10 (define the size using #define) Read the numbers and store them in array. You should use loop to store numbers and print them, Sample Output Please enter 10 numbers: 20 22 23 Prompts the user to input 10 numbers and store them in array of size 10 (define t #define). Read the numbers and store them in array. You should use loop to store numbers and print them. Sample Output Please enter 10 numbers: 20 21 22 23 24 30 31 32 33 34 The first five numbers are : 20 21 22 23 24 .. Program finished with exit code 0 Press ENTER to exit console
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
