520用C++来个表白#include <stdio.h>#include <math.h>//为了引用pow函数#include <iostream>using namespace std;int main(){ float y; float z; float x;//定义浮点型变量 for (double y = 2.5; y >= -1.6; y = y - 0.2) { for (double x = -3; x <= 4.8; x = x + 0.1) { (pow((x * x + y * y - 1), 3) <= 3.6 * x * x * y * y * y || (x > -2.4 && x < -2.1 && y<1.5 && y>-1) || (((x < 2.5 && x>2.2) || (x > 3.4 && x < 3.7)) && y > -1 && y < 1.5) || (y > -1 && y < -0.6 && x < 3.7 && x>2.2)) ?//三目运算 cout << "*" : cout << " "; } cout << "\n"; } getchar (); system("pause"); return 0;}