<prompt> Generate a programming exercise for someone learning C.  <response>: Programming Exercise: Creating a Basic CalculatorObjective: Write a program in C language to create a basic calculator that can perform addition, subtraction, multiplication and division based on user input.Instructions:1. Start by declaring the necessary variables. You will need two float variables to store the numbers entered by the user, and a char variable to store the operator.2. Ask the user to enter the first number and store it in the first float variable.3. Ask the user to enter an operator , -, , or and store it in the char variable.4. Ask the user to enter the second number and store it in the second float variable.5. Using switch case statements, test for the operator entered by the user and perform the corresponding operation.6. Display the result of the operation.Hint: Be sure to handle the case of division by zero and display an error message to the user.Example Output:Enter first number: 10Enter operator: Enter second number: 510 5 15 