You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Circular Parenthesis ( ) are not translated correctly for few examples,
During Translation either one of the closing bracket is lost or Runtime error occurs
`MAIN
// User input
var AvgSix = 45
var SeventhNumber = 21
var SumOfSixNumbers = AvgSix * 6
var AverageOfSevenNumbers = ((SumOfSixNumbers + 21))/SeventhNumber // example [ending closing bracket is lost]
var abc = (SeventhNumber + SeventhNumber)/AvgSix // example [gives Runtime error]
var bcd = ((SeventhNumber)) // example [ending closing bracket is lost]
print("Area of 7 numbers is {AverageOfSevenNumbers} ")
END_MAIN
`
Expected behavior
Images with Correct expected behavior has been added below
Screenshots
Eg 1:
Eg 2:
Eg 3:
there are few instances where the operator after the brackets are also lost
Desktop (please complete the following information):
OS: [Windows 10]
The text was updated successfully, but these errors were encountered:
Hey @Math-O5 sure. Now that hacktoberfest is over, the time is also not constrained to 7 days. It seems I can only assign it to you. But consider it assigned to all of you 😃
Describe the bug
Circular Parenthesis ( ) are not translated correctly for few examples,
During Translation either one of the closing bracket is lost or Runtime error occurs
To Reproduce
Steps to reproduce the behavior:
`MAIN
// User input
var AvgSix = 45
var SeventhNumber = 21
END_MAIN
`
Expected behavior
Images with Correct expected behavior has been added below
Screenshots
Eg 1:
Eg 2:
Eg 3:
there are few instances where the operator after the brackets are also lost
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: