当前位置:网站首页>Romance in C language
Romance in C language
2022-04-23 17:55:00 【Chshyz】
treasure , It's Chinese Valentine's day
Environmental Science : object 、centos7vim/vi The editor writes C Language
Just went shopping and met a beautiful love , Then I thought of you .
Source code
#include <stdio.h>
#include <math.h>
#include <stdio.h>
int main()
{
float y, x, z, f;
for (y = 1.5f; y > -1.5f; y-=0.1f)
{
for (x = -1.5f; x < 1.5f; x += 0.05f)
{
z = x*x + y*y -1;
f = z*z*z - x*x*y*y*y;
putchar(f <= 0.0f ? "**-*-*-*"[(int)(f*-8.0f)]:' ');
}
putchar('\n');
}
getchar();
return 0;
}
I just learned it, too C, I won't explain the code to you, hahaha .
PS: I wish the rich get married
版权声明
本文为[Chshyz]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230547414139.html
边栏推荐
- Use of list - addition, deletion, modification and query
- Oil monkey website address
- 470. Rand10() is implemented with rand7()
- Sword finger offer 03 Duplicate number in array
- Hcip fifth experiment
- 102. 二叉树的层序遍历
- 48. 旋转图像
- 2022江西光伏展,中国分布式光伏展会,南昌太阳能利用展
- 开源按键组件Multi_Button的使用,含测试工程
- 2022 Jiangxi energy storage technology exhibition, China Battery exhibition, power battery exhibition and fuel cell Exhibition
猜你喜欢
958. Complete binary tree test
958. 二叉树的完全性检验
MySQL进阶之索引【分类,性能分析,使用,设计原则】
cv_ Solution of mismatch between bridge and opencv
C# 的数据流加密与解密
Auto.js 自定义对话框
JS high frequency interview questions
QTableWidget使用讲解
Kubernetes 服务发现 监控Endpoints
440. The k-th small number of dictionary order (difficult) - dictionary tree - number node - byte skipping high-frequency question
随机推荐
Some questions some questions some questions some questions
Gaode map search, drag and drop query address
2022 Jiangxi Photovoltaic Exhibition, China Distributed Photovoltaic Exhibition, Nanchang Solar Energy Utilization Exhibition
Go对文件操作
ES6
2022年茶艺师(初级)考试模拟100题及模拟考试
Cloud native Virtualization: building edge computing instances based on kubevirt
Halo 开源项目学习(二):实体类与数据表
This point in JS
JS get link? The following parameter name or value, according to the URL? Judge the parameters after
Amount input box, used for recharge and withdrawal
Kubernetes service discovery monitoring endpoints
Hcip fifth experiment
土地覆盖/利用数据产品下载
Arithmetic expression
587. 安装栅栏 / 剑指 Offer II 014. 字符串中的变位词
Realsense selection comparison d455 d435i d415 t265 3D hardware comparison
Construction of functions in C language programming
Sword finger offer 03 Duplicate number in array
Flask项目的部署详解