'commit'
This commit is contained in:
17
C++课程/第三课数字表达式与数据类型转换/test++.cpp
Normal file
17
C++课程/第三课数字表达式与数据类型转换/test++.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
int y=0;
|
||||
int x=2;
|
||||
y=5*x++;
|
||||
cout<<y<<endl;
|
||||
cout<<x<<endl;
|
||||
|
||||
cout<<" "<<endl;
|
||||
x=2;
|
||||
y=x--*2+3;
|
||||
cout<<y<<endl;
|
||||
cout<<x<<endl;
|
||||
return 0;
|
||||
}
|
||||
BIN
C++课程/第三课数字表达式与数据类型转换/数字表达式与数据类型转换.pptx
Normal file
BIN
C++课程/第三课数字表达式与数据类型转换/数字表达式与数据类型转换.pptx
Normal file
Binary file not shown.
Reference in New Issue
Block a user