Slip 10 | React | Original PDF page 10

2) Create a react application to check whether a number is valid or not and also calculate the
   sum of the digit of the number entered by the user and display it on UI. Also display
   appropriate messages on the UI if the entered value is invalid or blank. (12 Marks)
