Write comments of the C program codefor the given example to explain your unders
ID: 3744986 • Letter: W
Question
Write comments of the C program codefor the given example to explain your understanding of each line of the code
/*******************************************************************
Your Full Name: ------------------------------
Add comments after each program statement or before segments of code to explain the code.
Your comments should explain the purpose / rationale for the given code.
If the programming concept has not been covered yet, run the program and figure out the purpose of the code.
**********************************************************************/
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <conio.h>
#include <math.h> // define various mathematical functions
int main()
{
float num = 0; //requires a casting from integer to float
float result = 0; //requires a casting from integer to float
float answer = 0; //requires a casting from integer to float
//Information about the number
printf(" Enter a number ", &num); //Let the user enter a number
scanf (“%f”, &num); //Check the number that the user entered
result = num;
result = result * num;
result = result * num;
result = result * num;
result = result * num;
printf (“ Result of calculation = %.2f “, result);
answer = pow (num, 5);
if (result == answer)
printf (“ Calculation is correct!”);
else
printf (“ Calculation is not correct.”);
_getch();
return 0;
}