小玉买文具
#include<bits/stdc++.h>
using namespace std;
double a,b,c,d,e,f,g;
double asd;
int asw;
int main(){
cin>>a>>b;
asd=a+b/10;//将a和b转化为元。
asd=asd/1.9;
asw=asd/1;//用int类型让它保留整数。详情请参考上文。
cout<<asw;
return 0;//记得好习惯哈。
}
#include<bits/stdc++.h>
using namespace std;
double a,b,c,d,e,f,g;
double asd;
int asw;
int main(){
cin>>a>>b;
asd=a+b/10;//将a和b转化为元。
asd=asd/1.9;
asw=asd/1;//用int类型让它保留整数。详情请参考上文。
cout<<asw;
return 0;//记得好习惯哈。
}