Question: I need to do this program in C language. Thank you 1. Program using if-statement: Write a simple program to ask the user for a

 I need to do this program in C language. Thank you

I need to do this program in C language. Thank you

1. Program using if-statement: Write a simple program to ask the user for a number below 500 print if the number is divisible by 13 or not [10 points ] 2. Program using do-while loop Ask the user for a number in the range 1 to 100. If he enters any other number, loop back and prompt again if the number is in between 1 to 100, Just print the number he entered. [10 points ] 3. Program using for loop using for loop, compute the sum of all even numbers from 100 until 170 (inclusive) 1 10] 4. Program using for loop and switch case: print each number from 1 to 100 if it is divisible by 3. If it is divisible, print the number. If it is not, just ignore. You should use for loop and switch case. 10 points]

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!