Modify this program based on the given instructions. 1011int main()1213 - {1415int arr[250], search, n, i;16printf("Please enter how many elements should be available in an array\n");scanf...

Modify this program based on the given instructions.Online C Compiler - online editor X<br>UDIDY<br>You need to verify email to use all features of IDE. Follow instruction on<br>C Fork this<br>Run<br>#include <stdio.h><br>10<br>11<br>int main()<br>12<br>13 - {<br>14<br>15<br>int arr[250], search, n, i;<br>16<br>printf(

Extracted text: Online C Compiler - online editor X UDIDY You need to verify email to use all features of IDE. Follow instruction on C Fork this Run #include 10 11 int main() 12 13 - { 14 15 int arr[250], search, n, i; 16 printf("Please enter how many elements should be available in an array\n"); scanf ("%d",&n); 17 18 19 20 printf("\nPlease enter %d integer numbers one by one: ", n); 21 22 //receive n inputs from the user and store them in the array. 23 printf("\nPlease enter the number you want to search: "); scanf ("%d", &search); 24 25 26 //search the array (using for) and check if "search" exists in the array; //if it does, then print the index number on the screen. 27 28 29 30 //if it does not exist, then give a message to the user! 31 32 return 0; 33 } 34 input Command line arguments: Standard Input Interactive Console Text fbersene DO Internat 19.90 Cablenet Offer Learn more Oie Unlted purple Cablenet C
Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here