Computer Science, asked by gideonsamuel05, 4 months ago


3. function checks if all the elements in a string are
digits.

4.which is not a part of conditional statement ​

Answers

Answered by tintin15551
1

Answer:

Using Regular Expression:

  • Get the String.

  • Create a Regular Expression to check string contains only digits as mentioned below: regex = "[0-9]+";

  • Match the given string with Regular Expression. ...

  • Return true if the string matches with the given regular expression, else return false.

Explanation:

HOPE IT HELPS U.......

Similar questions