I need to write a program that asks for the input of variables and one variable must be entered as "?", but I cannot get the program to use "?" at all. Also, I don't know how to create a driver function. Once I get the "?" input working, will the driver function just essentially be the equation I am given? Any help would be appreciated.
stankit
1
Newbie Poster
Recommended Answers
Jump to PostI need to write a program that asks for the input of variables and one variable must be entered as "?", but I cannot get the program to use "?" at all. Also, I don't know how to create a driver function. Once I get the "?" input working, will …
Jump to PostUnless you give more information, it is really difficult to understand your problem.
For the program to understand a question mark, you would need to use an escape sequence.'\?'
Some more info on escape sequences
This is mostly meant …
All 6 Replies
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
thomas_naveen
105
Junior Poster
stankit
1
Newbie Poster
stankit
1
Newbie Poster
thomas_naveen
commented:
for effort shown
+1
thomas_naveen
105
Junior Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.