I have been trying to make a program on functions to calculate the products but just doesn't seem to be working it's in C | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I have been trying to make a program on functions to calculate the products but just doesn't seem to be working it's in C

https://code.sololearn.com/cTukt9jXQNzO/?ref=app

9th Sep 2018, 6:10 PM
Aditya Prasad
Aditya Prasad - avatar
3 Answers
+ 3
Error on line 8 in your code printf (" the product of %d and %d is %d\n" x ,y ,product(x,y) ); You didn't put comma before 'x' in printf statement Correct statement: printf ( " the product of %d and %d is %d\n", x ,y ,product(x,y) );
9th Sep 2018, 7:45 PM
blACk sh4d0w
blACk sh4d0w - avatar
+ 1
oohhh thta was silly . thank you for your help
10th Sep 2018, 8:11 AM
Aditya Prasad
Aditya Prasad - avatar
9th Sep 2018, 6:23 PM
Jan Štěch
Jan Štěch - avatar