新年快乐 狗年烫烫烫

亲爱的陌生人 在你看到我这篇博文之后 你和你的家人在新的一年中定是身体健康 心想事成 万事如意 学业事业有成

爱你们微笑 

附心形代码:

#include<iostream>
using namespace std;//The codes are writtern by William in 23:48 15/2/2018
  
# define U 0.06
# define V 0.025
  
# define M 1.1
# define N 1.2
int main(void)
{
    float x, y;
    float m, n;
  
    for ( y=2; y>=-2; y-=U )
    { 
        for ( x=-1.2; x<=1.2; x+=V)
        {
            if ( ( ( (x*x + y*y - 1)*(x*x + y*y - 1)*(x*x + y*y - 1) - x*x*y*y*y ) <= 0 ) )
                cout<<"*";
            else
                cout<<" ";
        }
       cout<<endl;
    }
    system("pause");
    return 0;
}

猜你喜欢

转载自blog.csdn.net/qq_38890412/article/details/79329476