I am doing a program that calculate velocity and acceleration.
I get all my input in main and then i call a sub function giving the input values as parameter and calculate velocity and acceleration.no w i want to return both these values to main can i do this when i do this i get only one correct value the other one is error value can you help
I get all my input in main and then i call a sub function giving the input values as parameter and calculate velocity and acceleration.no w i want to return both these values to main can i do this when i do this i get only one correct value the other one is error value can you help
Comment