64,637
社区成员
发帖
与我相关
我的任务
分享
float p,p1;
cout<<"input the p: \n"<<endl;
while(cin>>p)
{
p1= p/3.779;
printf("the value is %.1f\n",p1);
}
float a,a1;
cout<<"input the a: \n"<<endl;
while(cin>>a)
{
a1= a*3.66;
printf("the a1 is %.3f\n",a1);
}