PROGRAMMING:3.8 - calculate the difference between two integers and display
Use the if statement to replace the conditional operator in the code listing 3-15 program to achieve the same function.
Listing 3-15 requires that the difference between the two integers entered be calculated and displayed (conditional operator)
The running situation of exercises 3-8 of Mingjie C language is as follows:
```
Please enter two integers.
Integer 1:33
Integer 2:45
The difference is 12.
```
###Input example:
```in
thirty-three
forty-five
```
###Output example:
```out
Please enter two integers.
Integer 1: integer 2: the difference is 12.
```
answer:If there is no answer, please comment
Listing 3-15 requires that the difference between the two integers entered be calculated and displayed (conditional operator)
The running situation of exercises 3-8 of Mingjie C language is as follows:
```
Please enter two integers.
Integer 1:33
Integer 2:45
The difference is 12.
```
###Input example:
```in
thirty-three
forty-five
```
###Output example:
```out
Please enter two integers.
Integer 1: integer 2: the difference is 12.
```
answer:If there is no answer, please comment