return functions
in
Programming Questions
•
7 months ago
I have an assignment and am in need of some major help. The following are the instructions.
Write a program that multiplies three numbers together and prints the results to the screen. Do this for 5 sets of numbers. Use a function that returns the product of the three numbers to do this.
You may have lines like this in your code:
float product1 = myFunc(3,4,5);
text(product1, 50, 50);
GIve me an example please so I can understand better. I missed class due to a snow day.
1