+ 1

In an array 1-100 numbers are stored, one number is missing how do you find it?

1st Dec 2017, 11:17 PM
ARB
ARB - avatar
3 Answers
+ 5
sum of 1 to 100 minus sum of array
1st Dec 2017, 11:57 PM
bedawang
bedawang - avatar
+ 4
C++ : for (int i = 1; i <= 100; i++) { if (arr[i] != i) { cout << i << endl; } }
2nd Dec 2017, 4:01 AM
Cool Codin
Cool Codin - avatar
0
7 ate 9
1st Dec 2017, 11:31 PM
Zeke Williams
Zeke Williams - avatar