954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to cin or userinput to functions.

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!

Nevicar
Newbie Poster
10 posts since Dec 2011
Reputation Points: 10
Solved Threads: 0
 

Try here .

frogboy77
Posting Pro in Training
481 posts since Aug 2010
Reputation Points: 100
Solved Threads: 39
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: