What Is the Missing Number in the Table Brainly?
What should you know about What Is the Missing Number in the Table Brainly? Get the answers in this feature article.
Print the missing number as a sum. 1 Create a variable sum = 1 to which will store the missing number and a counter c = 2. 2 Traverse the array from start to end. 3 Update the value of sum as sum = sum – array [i] + c and update c as c++. 4 Print the missing number as a sum.