Compile Error
foo.cc: In function 'int main()':
foo.cc:9:15: warning: format '%f' expects argument of type 'float*', but argument 2 has type 'double*' [-Wformat=]
  scanf("%f",&x)
             ~~^
foo.cc:10:2: error: expected ';' before 'y'
  y=(5.0/9)*(x-32);
  ^
foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%f",&x)
  ~~~~~^~~~~~~~~
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1008 温度转换
 - 语言
 - C++
 - 递交时间
 - 2021-11-20 13:01:22
 - 评测时间
 - 2021-11-20 13:01:22
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes