Question: by c program Question 1: Write a C program that do the following: Ask the user to enter a number and based on its value

Question 1: Write a C program that do the following: Ask the user to enter a number and based on its value show him a message as follows: (use switch statement) number Message 1 You won 1000$ 20 You won 1000S 92 You won 500$ 29 You won 250S Another value Good luck Sample input/output: Enter a number: 1 You won 1000$
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
