বুধবার, ৩ ফেব্রুয়ারী, ২০১৬

Get the lenght of number/character by c++

#include<iostream>
#include<string>
using namespace std;

int main()
{
    string n;
    cout << "Enter the number/character : ";
    cin >> n;
    cout <<"The length of this number: "<< n.length() << endl;
    return 0;
}

///ahmed shuvo969

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

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