Question: Complete the following tasks - (a) Write a function in C named rotate that will take the last three digits of your student ID as

Complete the following tasks - (a) Write a function in C named rotate that will take the last three digits of your student ID as input and rotate them in clockwise order. The function will have no return value. For example, If the inputs are a = 0, b = 9, c = 4 After rotating, the values will be a = 4, b=0, c = 9 (b) Write a main function where you will use this function. Declare variables as needed. Print the rotated digits in the main function after using the rotate function. **You CANNOT use array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
