这是for语句的最后一题!!!!!!!!终于!
下面给出概念图——
哈哈哈哈哈哈很抽象吧!
#include<iostream>
using namespace std;
int main()
{
int a, b, c, d, e, f;
cin >> a >> b >> c >> d >> e >> f;
int y1 = a * e + b;
int y2 = c * e + d;
if (y1 < f && f < y2 || y2 < f && f < y1)
{
cout << "Yes";
}
else
{
cout << "No";
}
return 0;
}