当前位置:网站首页>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
边栏推荐
- 209. Minimum length subarray - sliding window
- Listen for click events other than an element
- 41. 缺失的第一个正数
- Tensorflow tensor introduction
- 102. Sequence traversal of binary tree
- 2022年上海市安全员C证操作证考试题库及模拟考试
- Sword finger offer 22 The penultimate node in the linked list - speed pointer
- 2022年流动式起重机司机国家题库模拟考试平台操作
- Comparison between xtask and kotlin coroutine
- 2022江西储能技术展会,中国电池展,动力电池展,燃料电池展
猜你喜欢
开源按键组件Multi_Button的使用,含测试工程
MySQL_01_简单数据检索
Client example analysis of easymodbustcp
Go's gin framework learning
48. 旋转图像
Welcome to the markdown editor
Summary of floating point double precision, single precision and half precision knowledge
Applet learning notes (I)
Auto.js 自定义对话框
Kubernetes 服务发现 监控Endpoints
随机推荐
2022 judgment questions and answers for operation of refrigeration and air conditioning equipment
Click Cancel to return to the previous page and modify the parameter value of the previous page, let pages = getcurrentpages() let prevpage = pages [pages. Length - 2] / / the data of the previous pag
土地覆盖/利用数据产品下载
On the problem of V-IF display and hiding
2022 Jiangxi Photovoltaic Exhibition, China Distributed Photovoltaic Exhibition, Nanchang Solar Energy Utilization Exhibition
2022江西储能技术展会,中国电池展,动力电池展,燃料电池展
列表的使用-增删改查
干货 | 快速抽取缩略图是怎么练成的?
Theory and practice of laser slam in dark blue College - Chapter 2 (odometer calibration)
圆环回原点问题-字节跳动高频题
Client example analysis of easymodbustcp
vite配置proxy代理解决跨域
Gets the time range of the current week
一些问题一些问题一些问题一些问题
Welcome to the markdown editor
编译原理 求first集 follow集 select集预测分析表 判断符号串是否符合文法定义(有源码!!!)
102. Sequence traversal of binary tree
48. Rotate image
239. 滑动窗口最大值(困难)-单向队列、大顶堆-字节跳动高频题
MySQL进阶之索引【分类,性能分析,使用,设计原则】