Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hey guys. I have a C++ lab that I cannot solve. Please help me! It will be in my

ID: 3841766 • Letter: H

Question

Hey guys. I have a C++ lab that I cannot solve. Please help me! It will be in my final grade.

Using a stack-Determine if parentheses are matched using a stack.

Write a web-enabled CGI program that reads a string from a form and tells whether or not the parentheses are matched.

Here is the HTML form class source link: http://www.csit.parkland.edu/~kurban/csc125/htmlFormClass/

Here is the files link: http://www.csit.parkland.edu/~kurban/permanent/sample-files/matchedparentheses/

Here are the handouts:

I need the final results like these:

And this lab is running on the Linux server. Thank you!

Using a stack Lab 7

Explanation / Answer

import java.util.*; public class sentencereverse {         public static void main(String[] args) {         String a = "It is a good day";         Stack stck = new Stack ();         String[] tmp;     String dlmtr = " ";         tmp = a.split(dlmtr);        for(int i =0; i