Question: You are developing a web application that counts the total number of even digits and the total number of odd digits in a number when
You are developing a web application that counts the total number of even digits and the total
number of odd digits in a number when the user clicks a button. Implement this functionality using
JavaScript. Here, take your roll number as input in a prompt dialog box and display an alert
message showing the total number of odd and even digits.
Sample Input:
Please enter your roll number
Sample Output:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
