Computer Science, asked by JAISAL4346, 1 year ago

How to find missing number on integer array of 1 to 100 in c?

Answers

Answered by abcxyz12
1
hiiiii mate here your answer ✔️ ✔️
____________________________

You are given a sequence of n-1 distinct positive integers, all of which are less than or equal to a integer ‘n’. You have to find the integer that is missing from the range [1,2,...,n]. Solve the question without using arrays.

Input Format: One line containing the integer ‘n’ where 2<=n<=10,000 First line is followed by a sequence of ‘n-1’ distinct positive integers. Note that the sequence may not be in any particular order.
_____________________________

❤️ I hope you mark as brainlist answer⭐❤️✨✨✨✨

⭐✨✨ FOLLOW ME
Similar questions