Noobie, why isnt this working?

Hey, i'm new and just experimenting with scan f and making equations. (C coding) Can someone explain why this doesnt work? I'm getting an output of 0.

7/17/2019 11:12:11 PM


4 Answers

New Answer


You are calculating vent =a*b; Before getting input for a and b. Now try to get input before calculation


Extending Omkar's answer - Just swap line 5 and 6 in your code.




You guys are the best, that makes a lot more sense. Thank you!