
#include#include using namespace std; int main() { double x,y,a; for (y=1.5f;y>-1.5f;y-=0.1f) { for (x=-1.5f;x<1.5f;x+=0.05f) { a=x*x+y*y-1; if((a*a*a-x*x*y*y*y)<=0) cout<<'*'; else cout<<' '; } cout< 欢迎分享,转载请注明来源:内存溢出

#include#include using namespace std; int main() { double x,y,a; for (y=1.5f;y>-1.5f;y-=0.1f) { for (x=-1.5f;x<1.5f;x+=0.05f) { a=x*x+y*y-1; if((a*a*a-x*x*y*y*y)<=0) cout<<'*'; else cout<<' '; } cout< 欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)