Write a C program that implements the following pseudocode:
1. Input an integer number
2. If the number is odd, then
a. Add 1 to it
b. Divide it by 2
c. Print the result
3. Else if the number is even, then
a. Multiply it by 2
b. Print the result
4. Print your name and ID
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here