Question: Write a program in which user enters an integer number. If the number is an odd number use an iteration statement to multiply that number

Write a program in which user enters an integer number. If the number is an odd number use an iteration statement to multiply that number by 1 to 10 and show the result. If the number is an even number, continuously decrease the number by 2 till you get the result equal to 0. PLEASE USE C TO WRITE THE PROGRAM!

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!