Tests Executions main.c + 4. Fill in the Gaps by CodeChum Admin E Run Tests The foundation for our building is slowly collapsing. We need to reinforce it by filling in the gaps! Our foundation is made...


Fill in the Gaps


Code in C language


Tests<br>Executions<br>main.c<br>+<br>4. Fill in the Gaps<br>by CodeChum Admin<br>E Run Tests<br>The foundation for our building is slowly collapsing. We need to<br>reinforce it by filling in the gaps! Our foundation is made up of a<br>bunch of different integers, with values that could still be filled in<br>between. Your job is to figure out which values can be filled in<br>between the existing ones.<br>Test Cases<br>O Test Case 1<br>Your Output<br>Input<br>No Output<br>1. Size of the integer array<br>Constraints<br>Expected Output<br>The value is > 0.<br>Enter the size: 5<br>Enter the elements: 1 3 479<br>2. Elements of the integer array<br>Gaps = 25 6 8<br>Constraints<br>The elements are in ascending order and each element is within the<br>range: 0 <= n <= 2,147,483,647<br>O Test Case 2<br>Output<br>The first line will contain a message prompt to input the size of the<br>O Test Case 3<br>array.<br>The second line will contain a message prompt to input the<br>elements of the array.<br>The last line contains all the

Extracted text: Tests Executions main.c + 4. Fill in the Gaps by CodeChum Admin E Run Tests The foundation for our building is slowly collapsing. We need to reinforce it by filling in the gaps! Our foundation is made up of a bunch of different integers, with values that could still be filled in between. Your job is to figure out which values can be filled in between the existing ones. Test Cases O Test Case 1 Your Output Input No Output 1. Size of the integer array Constraints Expected Output The value is > 0. Enter the size: 5 Enter the elements: 1 3 479 2. Elements of the integer array Gaps = 25 6 8 Constraints The elements are in ascending order and each element is within the range: 0 <= n=""><= 2,147,483,647="" o="" test="" case="" 2="" output="" the="" first="" line="" will="" contain="" a="" message="" prompt="" to="" input="" the="" size="" of="" the="" o="" test="" case="" 3="" array.="" the="" second="" line="" will="" contain="" a="" message="" prompt="" to="" input="" the="" elements="" of="" the="" array.="" the="" last="" line="" contains="" all="" the="" "gaps"="" in="" the="" array.="" o="" test="" case="" 4="" hidden="" enter="" the="" size:="" 5="" enter="" the="" elements:="" 1.3-4-7.9="" o="" test="" case="" 5="" hidden="" gaps="2-5" 6="" 8="" o="" test="" case="" 6="">

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here