Home > other >  C # write a function that accepts an integer, output the integer is a few digits
C # write a function that accepts an integer, output the integer is a few digits

Time:09-23

With c # write a function that accepts an integer, and output the integer is a few digits [/size]

CodePudding user response:

Int num=100;
Return num. ToString (). The Length;

CodePudding user response:

Int CheckLength (int num)
{
Return num. ToString (). The Length;
}

CodePudding user response:

to learn

CodePudding user response:

Int returnLength (int a)
{
Return a.t oString (). The length;
}
  • Related