C Programming Make a program that will accept an integer and loop for the same number of times as that of the inputted integer and input random integers and add it to the array/list one by one, per...





C Programming


Make a program that will accept an integer and loop for the same number of times as that of the inputted integer and input random integers and add it to the array/list one by one, per line. Afterwards, make your program accept another random integer.



Using that final integer, compare from your array/list if the final integer's value is also present in your current array/list. If so, print "Present"; otherwise, print "None".




Start coding now!






Input




1. Size of the array




2. Elements of the array




3. Integer to be searched








Output



The first line will contain a message prompt to input the size of the array. The succeeding lines will contain message prompts to input the elements of the array. The next line will contain a message prompt to input the integer to be searched. The last line contains the appropriate message.




+ Back to Home<br>Time Left: 6:05:58:41<br>Overall Score: 20/70<br>Current Rank: 1st<br>Layout: Side-by-Side<br>Save<br>main.c<br>Test Cases<br>Executions<br>3. Search and Rescue<br>by CodeChum Admin<br>E Run Tests<br>Make a program that will accept an<br>integer and loop for the same number of<br>times as that of the inputted integer and<br>input random integers and add it to the<br>array/list one by one, per line. Afterwards,<br>O Test Case 1<br>Your Output<br>make your program accept another<br>random integer.<br>No Output<br>Using that final integer, compare from<br>your array/list if the final integer's value is<br>also present in your current array/list. If<br>so, print

Extracted text: + Back to Home Time Left: 6:05:58:41 Overall Score: 20/70 Current Rank: 1st Layout: Side-by-Side Save main.c Test Cases Executions 3. Search and Rescue by CodeChum Admin E Run Tests Make a program that will accept an integer and loop for the same number of times as that of the inputted integer and input random integers and add it to the array/list one by one, per line. Afterwards, O Test Case 1 Your Output make your program accept another random integer. No Output Using that final integer, compare from your array/list if the final integer's value is also present in your current array/list. If so, print "Present"; otherwise, Expected Output Enter the size: 5 print "None". Element #1: 3 Element #2: 21 Start coding now! Elenent #3: 2 Elenent #4: 5 Element #5: 23 Input 1. Size of the array Enter the integer to be searched: Present 2. Elements of the array 3. Integer to be searched O Test Case 2 Score: 0/10 Activate Windows erting = Overview 3/7 Execute Code H P Type here to search 28°C Light rain A O 40 D ENG N-VISION PONERALITS 五
Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here