c++打印心形

用c++打印一个心形的图案:ios #include<iostream> #include<cmath> using namespace std; int main() { float x, y; for (y = 1.5f; y >-1.5f; y -= 0.1f) { for (x = -1.5f; x <1.5f; x += 0.05f)
相关文章
相关标签/搜索