![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/48be2c6402cbb2a1d210076601baa262.png)
c:
#include <stdio.h>
int main() {
int tall;
scanf("%d", &tall);
printf("%.1f", (tall - 100) * 0.9 * 2);
return 0;
}
c++:
#include <iostream>
using namespace std;
int main()
{
float height;
cin >> height;
float ans = (height - 100) * 0.9 * 2;
printf("%.1f", ans);
return 0;
}