Answer to Question #273683 in C# for Holik

Question #273683

13. The text is given. Identify the numbers in the text.

1
Expert's answer
2021-12-03T00:37:20-0500

 string text = "text123text";


           for (int i = 0; i < text.Length; i++)

           {

               if (char.IsDigit(text[i]))

               {

                   Console.WriteLine(text[i]);

               }

           }



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS