Re: user defined functions and inputs
- From: "Rory beattie" <r.beattie@xxxxxxxxx>
- Date: Sat, 14 Feb 2009 15:24:01 +0000 (UTC)
hey i dont think ive got my point across very well at all.
all i want to do is let a user define a function using an input command
eg x+y+z
then i want the program to recognise the variables that were involved with that method eg x,y,z
and then i want the program to ask the user to input the values that there are eg
"please input a value for x"
"please input a value for y"
"please input a value for z"
then i want to use the numbers entered by the user into the function they previously entered
eg say they entered
x+y+z
x = 1
y = 2
z = 3
the solution would be 6
i hope ive been a bit clearer
many thanks
.
- Follow-Ups:
- Re: user defined functions and inputs
- From: Matt Fig
- Re: user defined functions and inputs
- References:
- user defined functions and inputs
- From: Rory beattie
- Re: user defined functions and inputs
- From: John D'Errico
- user defined functions and inputs
- Prev by Date: PlotDemoCSharpApp not works
- Next by Date: Solution manual to Engineering Mechanics Dynamics (11th Edition) by Russell C. Hibbeler
- Previous by thread: Re: user defined functions and inputs
- Next by thread: Re: user defined functions and inputs
- Index(es):
Relevant Pages
|