Problem2178--Determine if it is a decimal number

2178: Determine if it is a decimal number

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 0  Solved: 0
[Submit] [Status] [Web Board] [Creator:]

Description

Write a function definition for a isDigit function that takes one argument of type char and returns a bool value. The function returns true if the argument is a decimal digit; otherwise it returns false.

Input

one argument of type char

Output

a bool value

Sample Input Copy

9

Sample Output Copy

True

Source/Category

21