(1 mark, file to be edited: Q1.c)
The program allows the user to enter the value of 'x' from the keyboard, 'x' is the side of the square.Please print out the perimeter of the square, with 2 decimal places. In which, perimeter = 4 * x Below is an example of how the program will run:Enter the value x = 3.56
2 of 2
Paper No: 8
3.56
OUTPUT:14.24Press any key to continue
Zoom
100%
Close