Skip to content

Commit

Permalink
Update and rename README.md to fix quote issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldangeofficial committed Apr 16, 2023
1 parent 4d5160c commit 64cf6a0
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md → fix quote issue
Original file line number Diff line number Diff line change
Expand Up @@ -8,70 +8,70 @@ This is a parser built in JavaScript that can parse arithmetic operations writte

## Input 1

"10 अधिक 2 गुणिले 3 वजा 4 भागिले 2"
10 अधिक 2 गुणिले 3 वजा 4 भागिले 2

This input can be interpreted as the expression:

"10 + 2 * 3 - 4 / 2"
10 + 2 * 3 - 4 / 2

and the output will be 14

## Input 2

"10.5 अधिक 2 गुणिले (3 वजा 4) भागिले 2.5"
10.5 अधिक 2 गुणिले (3 वजा 4) भागिले 2.5

This input can be interpreted as the expression:

"10.5 + 2 * (3 - 4) / 2.5"
10.5 + 2 * (3 - 4) / 2.5

and the output will be 9.7

## Input 3

"10.5अधिक2गुणिले(3वजा4)भागिले2.5"
10.5अधिक2गुणिले(3वजा4)भागिले2.5

This input can be interpreted as the expression:

"10.5 + 2 * (3 - 4) / 2.5"
10.5 + 2 * (3 - 4) / 2.5

and the output will be 9.7

## Input 4

"16 वजा 8 अधिक 14 भागिले 2"
16 वजा 8 अधिक 14 भागिले 2

This input can be interpreted as the expression:

"16 - 8 + 14 / 2"
16 - 8 + 14 / 2

and the output will be 15

## Input 5

"16 वजा (8 अधिक 14) भागिले 2"
16 वजा (8 अधिक 14) भागिले 2

This input can be interpreted as the expression:

"16 - (8 + 14) / 2"
16 - (8 + 14) / 2

and the output will be 5

## Input 6

"16.5अधिक2.5गुणिले(3वजा4)भागिले2.5"
16.5अधिक2.5गुणिले(3वजा4)भागिले2.5

This input can be interpreted as the expression:

"16.5 + 2.5 * (3 - 4) / 2.5"
16.5 + 2.5 * (3 - 4) / 2.5

and the output will be 15.5

## Input 7

"1अधिक2अधिक3"
1अधिक2अधिक3

This input can be interpreted as the expression:

"1 + 2 + 3"
1 + 2 + 3

and the output will be 6

0 comments on commit 64cf6a0

Please sign in to comment.