Skip to content

JDovalina/stacks-lab-2-JDovalina

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Review Assignment Due Date Open in Visual Studio Code Lab Description : Read in a group of symbols and check to see if the appropriate opening symbol correctly matches up with the appropriate closing symbol.
The opening symbols are “{(<[“ and the appropriate closing symbols are “})>]“.

You must read in and analyze each group.

If you were to read in {[]}, you would have a correct balance of opening and closing symbols. If you were to read in {[}], you would not have a correct balance of opening and closing symbols.

Sample Data : (abc(def) [{}] [ [{<()>}] {<html[value=4](12)>{$x}} [one]{three}(four) car(cdr(a)(b))) car(cdr(a)(b))

Sample Output : (abc(*def) is incorrect.

[{}] is correct.

[ is incorrect.

[{<()>}] is correct.

{<html[value=4]*(12)>{$x}} is correct.

[one]{three}(four) is correct.

car(cdr(a)(b))) is incorrect. car(cdr(a)(b)) is correct.

About

sea-cs-salinas-24-25-cs3-stacks-lab-Stacks-1 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%