-
February 20th, 2013, 09:52 AM
#1
please help me now now now
write a code in c# that
Given a text, we need to look up the longest valid infix expression in the text and return its evaluation.
The following expressions are a valid infix expressions:
* a
* a+b
* (a/b)
* (a + b) + (c) * a /c
Input example:
* “abcd 6 (4+3)*9yuy 6*((4+2)-(8-2))”
Output:
* 6 * ( ( 4 + 2 ) – ( 8 – 2 ) )
* result : 0.
....................................................
use stack and queu
-
February 20th, 2013, 07:03 PM
#2
Re: please help me now now now
How far have you gotten with this homework assignment? Please post your code.
-
February 21st, 2013, 12:30 AM
#3
Re: please help me now now now
Best Regards,
BioPhysEngr
http://blog.biophysengr.net
--
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
-
March 1st, 2013, 05:40 AM
#4
Re: please help me now now now
i don't have a time to write this code
i shuold study for the exam
if u can help me...please do it
thanx my dear
-
March 1st, 2013, 05:45 AM
#5
Re: please help me now now now
i don't have a time to write this code
i shuold study for the exam
if u can help me...please do it
thanx
-
March 1st, 2013, 02:01 PM
#6
Re: please help me now now now
Originally Posted by jak.lofy
i don't have a time to write this code
i shuold study for the exam
if u can help me...please do it
thanx my dear
Sorry, we don't have time to help.
-
March 3rd, 2013, 01:15 AM
#7
Re: please help me now now now
And, in a more general sense, writing the code for you wouldn't help you learn.
Occasionally, I think it IS highly instructive to teach by example, but it is surely not instructive, in this particular case. The links I provided above should help you understand the algorithm.
Best Regards,
BioPhysEngr
http://blog.biophysengr.net
--
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|