Click here to Skip to main content
15,911,142 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
a*r-c
in
3
a 1
c 3
r 2

How can I read the input I wrote top and use it in a stack and array, is there anyone know the of this question...


[edit]"c++ da consoledan okuma" subject translated to English (Thanks Google!) - OriginalGriff[/edit]
Posted
Updated 30-Nov-10 8:45am
v2
Comments
#realJSOP 30-Nov-10 10:43am    
Nobody can answer your question because it doesn't make any sense. Also, translate the message title to english.
Sandeep Mewara 30-Nov-10 12:10pm    
Further, it looks like a homework question. What effort have you made?

1 solution

I assume you mean:
Read from the console a line: this contains an expression
Then read another: If it is "in" then the inputs follow.
Inputs: Count, followed by each element of the expression in the form:
"name"<space>"value"

Replace the expression elements with the input values and evaluate the expression.

If so, then: use Google. This has been done so many times before, that it should not be difficult to find a suitable example in Turkish. If this is not helpful, then post what you have tried so far, and explain what your problem is. We are more than willing to help, but we won't do your homework for you!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900