Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

count c++

#include <bits/stdc++.h>
using namespace std;
int main()
{
    vector<int> v1 ={1,2,3,4,7,6,6,8,9};
    cout<<count(v1.begin(),v1.end(),6);
    return 0;
}
 
PREVIOUS NEXT
Tagged: #count
ADD COMMENT
Topic
Name
9+6 =