I need to have a function that gathers two INT's and a DOUBLE from the user, and then another function that takes those INT's and DOUBLE as arguments, and uses them in calculations to perform and send out via the COUT command. This has to be done without any encapsulation or data structuring.
How do you gather 3 variables from one function, when everytime you run the function, it asks the same questions? Or can you gather all 3 at once, but then how do you send them out to another function in order?
I did it using global variables, but I have to do it using arguments instead.
thanks in advance.