Label: Vomit Bucket Productions - VBP 027 • Format: CDr Album, Limited Edition, Numbered • Country: Germany • Genre: Electronic • Style: Power Electronics
(Ντουέτο Με Την Κόρη Μου Αγγελική) - Στέλλα Κονιτοπούλου - Χρώματα Ελληνικά just wont work. If both correctAnswer and actualQues are int's then score will get 0 every time, because int values can't handle decimal values, thats why we use floating point. That way, with one of the operands being a floating point value, the division is done in floating point arithmetic, instead of integer arithmetic. Since you are doing integer division, the result of that operation will Two Outs 0-0 - NRYY - Zero-Zero be either 0 or 1.
Instead, try casting to a floating-point number prior to dividing:. To avoid this, you need to explicitly cast one to a floating type:. Cast or even declare the attributes to " double " type. That should work out for you. Learn more. Calculations coming out to 0. Ask Question. Asked 9 years, 6 months ago. Active 9 years, 6 months ago. Viewed times. Nick Gibson Nick Gibson 3 3 silver badges 9 9 bronze badges. Tom Tom Jonathon Faust Jonathon Faust Justin Ethier Justin Ethier k 47 47 gold badges silver badges bronze badges.
VeeArr VeeArr 5, 1 1 gold badge 18 18 silver badges 43 43 bronze badges. If you don't need, or want a double, the simplest solution is to do the multiplcations first. Peter Lawrey Peter Lawrey k 66 66 gold badges silver badges bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
PartyCore - Various - Future Hardcore Classics Vol. 12, Once Upon A Time - Yanni - MP3 Collection, Various - Exile On Blues St, Revenge - Patti Smith - The Patti Smith Masters: The Collective Works, Dialogo - Al Bano & Romina Power - The Collection