+1

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

Jarvis

4 Answers

New Answer

+5

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

+4

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

0

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

0

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