Hi everyone, I haven't really found much here on how to input into functions and I'm looking for more information on it.

Basically my problem is this: I have to make a function that calculates feet into yards, and I'm trying to find out how to make it so I can have the prompt me to enter a number and then when I enter it run the function and print it out.

I will also then have to have it prompt if I want to do yards to feet or feet to yards and then calculate it.

But, mainly looking for information on entering a number into a function, having it use that number for the calculation and then printing out the number.

Any and all help is awesome!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.