mirror of
https://github.com/Estom/notes.git
synced 2026-02-03 10:33:35 +08:00
我是傻子
This commit is contained in:
11
code_segment/zhonghang.cpp
Normal file
11
code_segment/zhonghang.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include<iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(){
|
||||
float x = 2.5,y=4.7;
|
||||
int a =8;
|
||||
cout<<a%3<<endl;
|
||||
cout<<x+a%3*(int)(x+y)<<endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user