Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Create an integer variable named toes with C, let the program set toes to 10, and then let the program calculate the sum of two toes and the square of toes.
Create an integer variable named toes with C, let the program set toes to 10, and then let the program calculate the sum of two toes and the square of toes.
1. First, in the computer, open the compiler and enter the operation main page, as shown in the figure below.

2. Then in the open window, enter the header file and initial variables, as shown in the figure below.

3. The int here means integer variable, as shown in the figure below.

4. Finally, plastic variables are naturally %d, which means to output in the format of plastic variables, as shown in the following figure.