MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

CPP/String/BalanceBrackets.cpp:31–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31int main()
32{
33 string expression;
34 cout << "Enter an expression: "; // input expression from STDIN/Console
35 cin >> expression;
36 if(AreParanthesesBalanced(expression))
37 cout << "Balanced\n";
38 else
39 cout << "Not Balanced\n";
40}

Callers

nothing calls this directly

Calls 1

AreParanthesesBalancedFunction · 0.85

Tested by

no test coverage detected