Skip to content

feat : added Solution.js for MissingDigit#192

Open
Ashish-003 wants to merge 1 commit intosymblai:mainfrom
Ashish-003:main
Open

feat : added Solution.js for MissingDigit#192
Ashish-003 wants to merge 1 commit intosymblai:mainfrom
Ashish-003:main

Conversation

@Ashish-003
Copy link
Copy Markdown

This is solution for issue number #190

Approach

  1. Split the equation at each spaces and assign the numbers to four variables respectively.
  2. Find the element with ? and hence compute the required result.
  3. Perform checks between the calculated result and element with '?'
  4. Accordingly print out the ans

@Ashish-003 Ashish-003 changed the title added Solution feat : added Solution.js for MssingDigit Dec 19, 2021
@Ashish-003 Ashish-003 changed the title feat : added Solution.js for MssingDigit feat : added Solution.js for MissingDigit Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant