Im pretty new at this, so i need some help
For a project we needed to create a "main.c" with three functions
-Function 1 gets the data
-Function 2 calculates the data
-Function 3 prints the data
The problem im having is with Function 2....
In function 2, i had to do calculations with the info, then i had to call 2 other functions from Function 2 to do more calculations.
Ive returned the the calculations from Function 2 to main.c, to be printed in function 3, but i dont know how to return the other two to main.c
my teacher is horrible, im basically trying to learn this on my own, so any help would be appreciated.