রবিবার, ৭ ফেব্রুয়ারী, ২০১৬

Print the total binary one(1) of a number solve by c++

#include<iostream>
using namespace std;

int main()
{
    int n;
    cout << "Enter the number: ";
    cin >> n;
    cout << __builtin_popcount(n) << endl;
    return 0;
}


ahemd shuvo969

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন