Write a C program with O (1) complexity that prints the f (n) value shown in the table below against the positive integer value of n entered from the keyboard.
For example, when the user enters n = 8, only 4 should be printed on the screen.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here