mirror of
https://github.com/Estom/notes.git
synced 2026-02-03 02:23:31 +08:00
11 lines
163 B
C++
11 lines
163 B
C++
#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;
|
|
} |