write a C program that takes a number from the user andcalculate its cube if the number is even and calculate its squareif the number is odd..
Use if statement in the solution
( please DO NOT use While statement ) , try tomake the solution as clear as you can
Expert Answer
Answer to write a C program that takes a number from the user and calculate its cube if the number is even and calculate its squar…