Re: user defined functions and inputs



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
.



Relevant Pages

  • what up rmp what up b n p
    ... hey hey rmp whats shaking ... maybe one day ill do the 9-5 but i dont even think so. ... groups of people gathered aronud totally getting off on shakespeare. ... i have to pee" says a beautiful young english women. ...
    (rec.music.phish)
  • Re: Cognitive Decline...
    ... > these laws then i would just doo all kind of things that i dont think i ... > like i said the moral part of my brain seems to be gone.... ... First recognise that theyre thoughts only. ... Emotions are strong things, but we all have it within our power to override ...
    (alt.support.mult-sclerosis)
  • Re: OT:OT:OT This week in God
    ... > thats what makes you racist,, and you dont get it!!!!! ... > i am red neck in that my neck gets red in the summer after a day in the ... i hate pooo coloured skin people,,, ... > hey yellow skinned dude- you got jaundice?? ...
    (alt.support.mult-sclerosis)
  • Re: Odd pro-sports frisbee mention
    ... MADE A MOCKERY OF! ... hey, dont forget, i'm the critic here. ... dont be so thin skinned") ... Hey, I saw a roast of Hugh Hefner once. ...
    (rec.sport.disc)
  • Re: How To Do Single Step debugging Under Sparc
    ... > Can You Make it more clearer? ... > i dont quite cache up with you,maybe a short piece of C code would ... The proc file system has a host of functions for debugging a process. ...
    (comp.unix.programmer)