Question: urgently B) Write a program that reads a number and writes on the screen if it is odd or even. If even find the cube

urgently
B) Write a program that reads a number and writes on the screen if it is odd or even. If even find the cube of the given number and if odd find the square of the number and display the result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
