Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How to express division in C language
How to express division in C language
1. First, click the VC6.0 shortcut on the desktop, as shown.

2. Then click the button shown below and fill in "Name".

3. You can name yourself, such as yh 1. The page after step 3 is shown below.

4. Click the location shown in the figure to enter the compilation environment.

5. Click "File" in the upper left corner, click "New", and click the place shown in the figure below.

6. Delete the text inside until it is consistent with the picture below.

7. Add void main () after the source file.

8. after the first curly brace, add: int x, y, z;

9. Then add scanf ("%d ",&; x); scanf("%d ",& ampy);

10, followed by z = x/y; printf("%d\n ",z);

1 1. Click "Run", enter12,4 from the keyboard, and press enter. The results are as follows.