I really need help with my assignment. My code is wrong, I keep getting true, when I was values. Write a function f2fi(f) that takes a non-negative number f as input and returns a pair of numbers (fh,i) such that f = fh + i/12 and fh is an integer i is a non-negative number smaller than 12 .

Hey! We 've verified this expert answer for you, click below to unlock the details :)

I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

Please post your code so we can check it out.

I'm a code beginner, so I don't quite understand much yet. Sorry.

Looking for something else?

Not the answer you are looking for? Search for more explanations.

## More answers

Looking for something else?

Not the answer you are looking for? Search for more explanations.