Search:
Forum
General C++ Programming
need help.
need help.
Nov 2, 2014 at 4:40am UTC
abanbedi
(1)
solution(int X, vector<int> &A) {
int eq = 0, neq = 0;
for (int i = 0; i < A.size(); ++i)
neq += A[i] != X;
}
How do I write this code in C#.
specially neq += A[I] != X;
Thanks
Registered users can post here.
Sign in or register
to post.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs