当前位置:首页 > 83课趣味CPP > 正文

第11课时-埃及探险-单精度实数float

#include<iostream>
using namespace std;
int main()
{
  int  a,h,s;
  cout<<"a,h=";
  cin>>a>>h;
  s=a*h/2;
  cout<<"s="<<s<<endl;   
  return 0;
}


更新时间 2025-09-11