The code does not execute properly.try to figure out why. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

The code does not execute properly.try to figure out why.

int multiply(int a, int b) { a * b; }

12th Oct 2017, 4:28 PM
Shubham Gautam
Shubham Gautam - avatar
1 Réponse
+ 2
you have to add return in front of a*b
12th Oct 2017, 5:12 PM
‎ɐısıօլɐ
‎ɐısıօլɐ - avatar