Question: Create a program to operate on the number. 1. Create a function to ask the user for number and takes the number 2. Create a

 Create a program to operate on the number. 1. Create a

Create a program to operate on the number. 1. Create a function to ask the user for number and takes the number 2. Create a function to check if the nurtiber is even or odd. 3. Create a function to calculate the input number to power of 2 manually. ** You should not take the number from the main function. You should call the function for taking the number and send back the number to the main. ** Once you send back the number to the main, you can pass it to other functions for further operations. 4. You should return all the result to the main and display from the main. Display from the function you will lose mark. 5. Your program should allow the user to repeat this calculation as often as he or she wishes (Use Loop) 6. Your display can be something like below

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!