Write a C program to take input an integer array of length 5 and print the index and values of those numbers which are less than 5. Sample Output: Enter arr[0] = 2 Enter arr[1] = 23 Enter arr[2] = -8...


Write a C program to take input an integer array of length 5 and print the index and values of<br>those numbers which are less than 5.<br>Sample Output:<br>Enter arr[0] = 2<br>Enter arr[1] = 23<br>Enter arr[2] = -8<br>Enter arr[3] = 14<br>Enter arr[4] = 6<br>Output:<br>arr[0] = 2<br>arr[2] = -8<br>

Extracted text: Write a C program to take input an integer array of length 5 and print the index and values of those numbers which are less than 5. Sample Output: Enter arr[0] = 2 Enter arr[1] = 23 Enter arr[2] = -8 Enter arr[3] = 14 Enter arr[4] = 6 Output: arr[0] = 2 arr[2] = -8

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here